[InstCombine] Signed saturation patterns
[llvm-core.git] / lib / Testing / Support / CMakeLists.txt
blobfe460aeefc91f8ca0d139f3f506fe76e6825362a
1 add_definitions(-DGTEST_LANG_CXX11=1)
2 add_definitions(-DGTEST_HAS_TR1_TUPLE=0)
4 add_llvm_library(LLVMTestingSupport
5   Annotations.cpp
6   Error.cpp
7   SupportHelpers.cpp
9   BUILDTREE_ONLY
10   
11   ADDITIONAL_HEADER_DIRS
12   ${LLVM_MAIN_INCLUDE_DIR}/llvm/Testing/Support
14   LINK_COMPONENTS
15   Support
16   )
18 include_directories(${LLVM_MAIN_SRC_DIR}/utils/unittest/googletest/include)
19 include_directories(${LLVM_MAIN_SRC_DIR}/utils/unittest/googlemock/include)
20 target_link_libraries(LLVMTestingSupport PRIVATE gtest)