llvm-project/clang/unittests/DirectoryWatcher/CMakeLists.txt
raw| 1 | if(APPLE OR CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME STREQUAL Windows) |
| 2 | |
| 3 | set(LLVM_LINK_COMPONENTS |
| 4 | Support |
| 5 | ) |
| 6 | |
| 7 | add_clang_unittest(DirectoryWatcherTests |
| 8 | DirectoryWatcherTest.cpp |
| 9 | ) |
| 10 | |
| 11 | target_link_libraries(DirectoryWatcherTests |
| 12 | PRIVATE |
| 13 | LLVMTestingSupport |
| 14 | clangDirectoryWatcher |
| 15 | clangBasic |
| 16 | ) |
| 17 | |
| 18 | endif() |