llvm-project/clang-tools-extra/unittests/cpp11-migrate/CMakeLists.txt

26 lines
548 B
CMake

set(LLVM_LINK_COMPONENTS
support
)
get_filename_component(CPP11_MIGRATE_SOURCE_DIR
${CMAKE_CURRENT_SOURCE_DIR}/../../cpp11-migrate REALPATH)
include_directories(${CPP11_MIGRATE_SOURCE_DIR})
add_extra_unittest(Cpp11MigrateTests
FileOverridesTest.cpp
ReformattingTest.cpp
IncludeExcludeTest.cpp
PerfSupportTest.cpp
TransformTest.cpp
UniqueHeaderNameTest.cpp
)
target_link_libraries(Cpp11MigrateTests
migrateCore
clangFormat
clangTooling
clangBasic
clangASTMatchers
clangRewriteFrontend
)