diff --git a/openmp/tools/CMakeLists.txt b/openmp/tools/CMakeLists.txt index eefbbf3376445..df3d381063ca2 100644 --- a/openmp/tools/CMakeLists.txt +++ b/openmp/tools/CMakeLists.txt @@ -1,9 +1,4 @@ -# Discover the tools that use CMake in the subdirectories. -# Note that explicit cmake invocation is required every time a new tool -# is added or removed. -file(GLOB entries *) -foreach(entry ${entries}) - if(IS_DIRECTORY ${entry} AND EXISTS ${entry}/CMakeLists.txt) - add_subdirectory(${entry}) - endif() -endforeach(entry) +add_subdirectory(archer) +add_subdirectory(Modules) +add_subdirectory(multiplex) +add_subdirectory(omptest) diff --git a/openmp/tools/omptest/test/CMakeLists.txt b/openmp/tools/omptest/test/CMakeLists.txt index 427893313cc67..1e07a1044f7d6 100644 --- a/openmp/tools/omptest/test/CMakeLists.txt +++ b/openmp/tools/omptest/test/CMakeLists.txt @@ -5,7 +5,13 @@ ##===----------------------------------------------------------------------===## # Target: ompTest library unit tests -file(GLOB UNITTEST_SOURCES "unittests/*.cpp") +set(UNITTEST_SOURCES + unittests/asserter-seq-test.cpp + unittests/internal-event-eq-test.cpp + unittests/internal-event-tostring-test.cpp + unittests/internal-util-test + unittests/main-test.cpp +) add_executable(omptest-unittests ${UNITTEST_SOURCES}) # Add local and LLVM-provided GoogleTest include directories.