Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2018 19:15:14 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org
Subject:   svn commit: r335730 - vendor/lldb/dist-release_60/cmake/modules
Message-ID:  <201806271915.w5RJFE0m043362@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Wed Jun 27 19:15:13 2018
New Revision: 335730
URL: https://svnweb.freebsd.org/changeset/base/335730

Log:
  Vendor import of lldb 6.0.1 release r335540:
  https://llvm.org/svn/llvm-project/lldb/tags/RELEASE_601/final@335540

Modified:
  vendor/lldb/dist-release_60/cmake/modules/LLDBConfig.cmake

Modified: vendor/lldb/dist-release_60/cmake/modules/LLDBConfig.cmake
==============================================================================
--- vendor/lldb/dist-release_60/cmake/modules/LLDBConfig.cmake	Wed Jun 27 19:15:08 2018	(r335729)
+++ vendor/lldb/dist-release_60/cmake/modules/LLDBConfig.cmake	Wed Jun 27 19:15:13 2018	(r335730)
@@ -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"))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806271915.w5RJFE0m043362>