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) _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits