|
@@ -389,5 +389,13 @@ if (NOT CMAKE_CONFIGURATION_TYPES AND (LIBCXX_INSTALL_LIBRARY OR
|
|
|
COMMAND "${CMAKE_COMMAND}"
|
|
|
-DCMAKE_INSTALL_COMPONENT=cxx
|
|
|
-P "${LIBCXX_BINARY_DIR}/cmake_install.cmake")
|
|
|
+ add_custom_target(install-cxx-stripped
|
|
|
+ DEPENDS ${lib_install_target}
|
|
|
+ ${experimental_lib_install_target}
|
|
|
+ ${header_install_target}
|
|
|
+ COMMAND "${CMAKE_COMMAND}"
|
|
|
+ -DCMAKE_INSTALL_COMPONENT=cxx
|
|
|
+ -DCMAKE_INSTALL_DO_STRIP=1
|
|
|
+ -P "${LIBCXX_BINARY_DIR}/cmake_install.cmake")
|
|
|
add_custom_target(install-libcxx DEPENDS install-cxx)
|
|
|
endif()
|