diff --git a/libs/core/algorithms/tests/unit/algorithms/util/CMakeLists.txt b/libs/core/algorithms/tests/unit/algorithms/util/CMakeLists.txt new file mode 100644 index 000000000000..2ebf0e869556 --- /dev/null +++ b/libs/core/algorithms/tests/unit/algorithms/util/CMakeLists.txt @@ -0,0 +1,34 @@ +# Copyright (c) 2020 Hartmut Kaiser +# +# SPDX-License-Identifier: BSL-1.0 +# Distributed under the Boost Software License, Version 1.0. (See accompanying +# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +set(tests + test_is_relocatable + test_low_level + test_merge_four + test_merge_vector + test_nbits + test_range + test_simd_helpers +) + +foreach(test ${tests}) + set(sources ${test}.cpp) + + source_group("Source Files" FILES ${sources}) + + set(folder_name "Tests/Unit/Modules/Core/Algorithms/Util") + + # add example executable + add_hpx_executable( + ${test}_test INTERNAL_FLAGS + SOURCES ${sources} ${${test}_FLAGS} + EXCLUDE_FROM_ALL + HPX_PREFIX ${HPX_BUILD_PREFIX} + FOLDER ${folder_name} + ) + + add_hpx_unit_test("modules.algorithms.util" ${test} ${${test}_PARAMETERS}) +endforeach()