Changeset View
Changeset View
Standalone View
Standalone View
lldb/cmake/modules/LLDBFramework.cmake
Show First 20 Lines • Show All 114 Lines • ▼ Show 20 Lines | if(NOT IOS) | ||||
add_custom_command(TARGET liblldb POST_BUILD | add_custom_command(TARGET liblldb POST_BUILD | ||||
COMMAND ${CMAKE_COMMAND} -E copy_directory | COMMAND ${CMAKE_COMMAND} -E copy_directory | ||||
${clang_resource_headers_dir} | ${clang_resource_headers_dir} | ||||
$<TARGET_FILE_DIR:liblldb>/Resources/Clang/include | $<TARGET_FILE_DIR:liblldb>/Resources/Clang/include | ||||
COMMENT "LLDB.framework: copy clang vendor-specific headers" | COMMENT "LLDB.framework: copy clang vendor-specific headers" | ||||
) | ) | ||||
endif() | endif() | ||||
# Add an rpath pointing to the directory where LLDB.framework is installed. | |||||
smeenai: You may wanna add the reason for this to the comment as well. | |||||
smeenaiUnsubmitted Not Done ReplyInline ActionsDoesn't need to be super detailed ... even just adding something like "so that we can find any frameworks installed beside it" should be enough. smeenai: Doesn't need to be super detailed ... even just adding something like "so that we can find any… | |||||
set_property(TARGET liblldb APPEND PROPERTY INSTALL_RPATH | |||||
Not Done ReplyInline ActionsNit: 80 columns smeenai: Nit: 80 columns | |||||
"@loader_path/../../../") |
You may wanna add the reason for this to the comment as well.