Changeset View
Changeset View
Standalone View
Standalone View
cmake/modules/InstallationHelper.cmake
Show All 31 Lines | function(_add_install_target COMPONENT) | ||||
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") | if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") | ||||
if(NOT TARGET "install-${COMPONENT}-debug") | if(NOT TARGET "install-${COMPONENT}-debug") | ||||
add_custom_target("install-${COMPONENT}-debug" | add_custom_target("install-${COMPONENT}-debug" | ||||
COMMENT "Splitting out the debug symbols for component ${COMPONENT}" | COMMENT "Splitting out the debug symbols for component ${COMPONENT}" | ||||
COMMAND | COMMAND | ||||
"${CMAKE_SOURCE_DIR}/cmake/utils/split-installed-component.sh" | "${CMAKE_SOURCE_DIR}/cmake/utils/split-installed-component.sh" | ||||
"${CMAKE_BINARY_DIR}/contrib/devtools/split-debug.sh" | "${CMAKE_BINARY_DIR}/contrib/devtools/split-debug.sh" | ||||
"${CMAKE_BINARY_DIR}/install_manifest_${COMPONENT}.txt" | "${CMAKE_BINARY_DIR}/install_manifest_${COMPONENT}.txt" | ||||
"${CMAKE_INSTALL_BINDIR}" | |||||
"${CMAKE_INSTALL_LIBDIR}" | |||||
DEPENDS | DEPENDS | ||||
"${INSTALL_TARGET}" | "${INSTALL_TARGET}" | ||||
"${CMAKE_BINARY_DIR}/contrib/devtools/split-debug.sh" | "${CMAKE_BINARY_DIR}/contrib/devtools/split-debug.sh" | ||||
) | ) | ||||
endif() | endif() | ||||
if(TARGET install-debug) | if(TARGET install-debug) | ||||
add_dependencies(install-debug "install-${COMPONENT}-debug") | add_dependencies(install-debug "install-${COMPONENT}-debug") | ||||
▲ Show 20 Lines • Show All 108 Lines • Show Last 20 Lines |