summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorDon Hinton <hintonda@gmail.com>2017-12-12 17:06:08 +0000
committerDon Hinton <hintonda@gmail.com>2017-12-12 17:06:08 +0000
commit253f4d7f2eebf28490738c41a66d61991ab9df6d (patch)
treeb82bfec29f7f2a4d2651be7ecf0dc0134aa08493 /projects
parent6c363ab160eadfa60ead2f80e6406854f700ec3b (diff)
[cmake] Support moving debuginfo-tests to llvm/projects
Differential Revision: https://reviews.llvm.org/D40972 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects')
-rw-r--r--projects/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/projects/CMakeLists.txt b/projects/CMakeLists.txt
index 9102efbdcb4..32617fd4ba6 100644
--- a/projects/CMakeLists.txt
+++ b/projects/CMakeLists.txt
@@ -11,7 +11,8 @@ foreach(entry ${entries})
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libunwind) AND
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/test-suite) AND
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/parallel-libs) AND
- (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/openmp))
+ (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/openmp) AND
+ (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/debuginfo-tests))
add_subdirectory(${entry})
endif()
endif()
@@ -39,3 +40,7 @@ endif()
add_llvm_external_project(dragonegg)
add_llvm_external_project(parallel-libs)
add_llvm_external_project(openmp)
+
+if(LLVM_INCLUDE_TESTS)
+ add_llvm_external_project(debuginfo-tests)
+endif()