summaryrefslogtreecommitdiff
path: root/lib/Testing/Support/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Testing/Support/CMakeLists.txt')
-rw-r--r--lib/Testing/Support/CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Testing/Support/CMakeLists.txt b/lib/Testing/Support/CMakeLists.txt
new file mode 100644
index 0000000000000..fa8dfe59c8bdb
--- /dev/null
+++ b/lib/Testing/Support/CMakeLists.txt
@@ -0,0 +1,12 @@
+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) \ No newline at end of file