[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 11/28: Strip release builds.
noreply at xfce.org
noreply at xfce.org
Sat Aug 20 18:33:07 CEST 2016
This is an automated email from the git hooks/post-receive script.
gottcode pushed a commit to annotated tag v1.0.1
in repository panel-plugins/xfce4-whiskermenu-plugin.
commit 121cb1de1c18d0375607a4e1398ca45fa9aa4500
Author: Graeme Gott <graeme at gottcode.org>
Date: Sun Jun 23 19:55:06 2013 -0400
Strip release builds.
---
src/CMakeLists.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e1aa344..25ca28a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -82,5 +82,10 @@ target_link_libraries(whiskermenu
${libxfce4util_LIBRARIES}
${GTK2_LIBRARIES})
+string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_TOLOWER)
+if(CMAKE_BUILD_TYPE_TOLOWER MATCHES release)
+ add_custom_command(TARGET whiskermenu POST_BUILD COMMAND ${CMAKE_STRIP} $<TARGET_FILE:whiskermenu>)
+endif()
+
install(TARGETS whiskermenu LIBRARY DESTINATION ${LIB_INSTALL_DIR}/xfce4/panel/plugins)
install(FILES ../whiskermenu.desktop DESTINATION ${DATA_INSTALL_DIR}/xfce4/panel/plugins)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list