Skip to content
Snippets Groups Projects
Commit 9b213eeb authored by Tofu Linden's avatar Tofu Linden
Browse files

EXT-5500 reduce linux package size

remove the now-redundant and somewhat odd (mea culpa) stripping process from the CMake stage
parent 96ca4ac9
No related branches found
No related tags found
No related merge requests found
......@@ -54,12 +54,5 @@ target_link_libraries(linux-crash-logger
${DB_LIBRARIES}
)
add_custom_command(
OUTPUT linux-crash-logger-stripped
COMMAND strip
ARGS --strip-debug -o linux-crash-logger-stripped linux-crash-logger
DEPENDS linux-crash-logger
)
add_custom_target(linux-crash-logger-strip-target ALL
DEPENDS linux-crash-logger-stripped)
add_custom_target(linux-crash-logger-target ALL
DEPENDS linux-crash-logger)
......@@ -47,12 +47,5 @@ target_link_libraries(linux-updater
${LLCOMMON_LIBRARIES}
)
add_custom_command(
OUTPUT linux-updater-stripped
COMMAND strip
ARGS --strip-debug -o linux-updater-stripped linux-updater
DEPENDS linux-updater
)
add_custom_target(linux-updater-strip-target ALL
DEPENDS linux-updater-stripped)
add_custom_target(linux-updater-target ALL
DEPENDS linux-updater)
......@@ -1624,13 +1624,6 @@ set(ARTWORK_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE PATH
if (LINUX)
add_custom_command(
OUTPUT secondlife-stripped
COMMAND strip
ARGS --strip-debug -o secondlife-stripped ${VIEWER_BINARY_NAME}
DEPENDS ${VIEWER_BINARY_NAME}
)
set(product SecondLife-${ARCH}-${viewer_VERSION})
add_custom_command(
......@@ -1650,15 +1643,15 @@ if (LINUX)
--login_channel=${VIEWER_LOGIN_CHANNEL}
--source=${CMAKE_CURRENT_SOURCE_DIR}
--touch=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/.${product}.touched
DEPENDS secondlife-stripped ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py
DEPENDS ${VIEWER_BINARY_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py
)
add_dependencies(${VIEWER_BINARY_NAME} SLPlugin media_plugin_gstreamer010 media_plugin_webkit)
if (NOT INSTALL)
add_custom_target(package ALL DEPENDS ${product}.tar.bz2)
add_dependencies(package linux-crash-logger-strip-target)
add_dependencies(package linux-updater-strip-target)
add_dependencies(package linux-crash-logger-target)
add_dependencies(package linux-updater-target)
check_message_template(package)
endif (NOT INSTALL)
endif (LINUX)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment