This reapplies 5ffd9bdb50 (#133545) with fixes.
The BUILD_SHARED_LIBS=ON build was fixed by adding missing LLVM
dependencies to the InterpTests binary in
unittests/AST/ByteCode/CMakeLists.txt .
13 lines
268 B
CMake
13 lines
268 B
CMake
if(APPLE OR CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME STREQUAL Windows)
|
|
|
|
add_clang_unittest(DirectoryWatcherTests
|
|
DirectoryWatcherTest.cpp
|
|
LINK_LIBS
|
|
LLVMTestingSupport
|
|
clangDirectoryWatcher
|
|
LLVM_COMPONENTS
|
|
Support
|
|
)
|
|
|
|
endif()
|