[Lldb-commits] [lldb] r373970 - [CMake] We only want to copy the headers for macOS.

Davide Italiano via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 7 14:38:30 PDT 2019


Author: davide
Date: Mon Oct  7 14:38:30 2019
New Revision: 373970

URL: http://llvm.org/viewvc/llvm-project?rev=373970&view=rev
Log:
[CMake] We only want to copy the headers for macOS.

<rdar://problem/55916729>

Modified:
    lldb/trunk/cmake/modules/LLDBFramework.cmake

Modified: lldb/trunk/cmake/modules/LLDBFramework.cmake
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/cmake/modules/LLDBFramework.cmake?rev=373970&r1=373969&r2=373970&view=diff
==============================================================================
--- lldb/trunk/cmake/modules/LLDBFramework.cmake (original)
+++ lldb/trunk/cmake/modules/LLDBFramework.cmake Mon Oct  7 14:38:30 2019
@@ -86,11 +86,13 @@ add_dependencies(liblldb liblldb-resourc
 
 # At build time, copy the staged headers into the framework bundle (and do
 # some post-processing in-place).
+if (NOT IOS)
 add_custom_command(TARGET liblldb POST_BUILD
   COMMAND ${CMAKE_COMMAND} -E copy_directory ${lldb_header_staging} $<TARGET_FILE_DIR:liblldb>/Headers
   COMMAND ${LLDB_SOURCE_DIR}/scripts/framework-header-fix.sh $<TARGET_FILE_DIR:liblldb>/Headers ${LLDB_VERSION}
   COMMENT "LLDB.framework: copy framework headers"
 )
+endif()
 
 # Copy vendor-specific headers from clang (without staging).
 if(NOT IOS)




More information about the lldb-commits mailing list