2017-10-28 05:12:28 +08:00
|
|
|
add_definitions(-DGTEST_LANG_CXX11=1)
|
|
|
|
add_definitions(-DGTEST_HAS_TR1_TUPLE=0)
|
|
|
|
|
2017-06-15 00:41:50 +08:00
|
|
|
add_llvm_library(LLVMTestingSupport
|
|
|
|
Error.cpp
|
|
|
|
|
|
|
|
BUILDTREE_ONLY
|
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/Testing/Support
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(${LLVM_MAIN_SRC_DIR}/utils/unittest/googletest/include)
|
|
|
|
include_directories(${LLVM_MAIN_SRC_DIR}/utils/unittest/googlemock/include)
|
|
|
|
target_link_libraries(LLVMTestingSupport PRIVATE gtest)
|