aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2018-06-27 19:15:13 +0000
committerDimitry Andric <dim@FreeBSD.org>2018-06-27 19:15:13 +0000
commita22edcd8cb9f96666c261407091d5732fc9b03a9 (patch)
treef87724cb5f44ad35fb1f71b6671ab31560e52a36
parentadc606d1b7abc8c35ac3f17bd93691b33b01871e (diff)
downloadsrc-a22edcd8cb9f96666c261407091d5732fc9b03a9.tar.gz
src-a22edcd8cb9f96666c261407091d5732fc9b03a9.zip
Vendor import of lldb 6.0.1 release r335540:vendor/lldb/lldb-release_601-r335540vendor/lldb-60
Notes
Notes: svn path=/vendor/lldb/dist-release_60/; revision=335730 svn path=/vendor/lldb/lldb-release_601-r335540/; revision=335731; tag=vendor/lldb/lldb-release_601-r335540
-rw-r--r--cmake/modules/LLDBConfig.cmake16
1 files changed, 10 insertions, 6 deletions
diff --git a/cmake/modules/LLDBConfig.cmake b/cmake/modules/LLDBConfig.cmake
index 8f75880dfbff..24878b5913f3 100644
--- a/cmake/modules/LLDBConfig.cmake
+++ b/cmake/modules/LLDBConfig.cmake
@@ -277,27 +277,31 @@ include_directories(BEFORE
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
install(DIRECTORY include/
- COMPONENT lldb_headers
+ COMPONENT lldb-headers
DESTINATION include
FILES_MATCHING
PATTERN "*.h"
PATTERN ".svn" EXCLUDE
PATTERN ".cmake" EXCLUDE
PATTERN "Config.h" EXCLUDE
- PATTERN "lldb-*.h" EXCLUDE
- PATTERN "API/*.h" EXCLUDE
)
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/
- COMPONENT lldb_headers
+ COMPONENT lldb-headers
DESTINATION include
FILES_MATCHING
PATTERN "*.h"
PATTERN ".svn" EXCLUDE
PATTERN ".cmake" EXCLUDE
- PATTERN "lldb-*.h" EXCLUDE
- PATTERN "API/*.h" EXCLUDE
)
+
+ add_custom_target(lldb-headers)
+ set_target_properties(lldb-headers PROPERTIES FOLDER "Misc")
+
+ if (NOT CMAKE_CONFIGURATION_TYPES)
+ add_llvm_install_targets(install-lldb-headers
+ COMPONENT lldb-headers)
+ endif()
endif()
if (NOT LIBXML2_FOUND AND NOT (CMAKE_SYSTEM_NAME MATCHES "Windows"))