13 lines · plain
1if(APPLE OR CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME STREQUAL Windows)2 3 add_clang_unittest(DirectoryWatcherTests4 DirectoryWatcherTest.cpp5 LINK_LIBS6 LLVMTestingSupport7 clangDirectoryWatcher8 LLVM_COMPONENTS9 Support10 )11 12endif()13