[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 15/473: Strip release builds.
noreply at xfce.org
noreply at xfce.org
Mon Feb 16 23:53:05 CET 2015
This is an automated email from the git hooks/post-receive script.
gottcode pushed a commit to branch master
in repository panel-plugins/xfce4-whiskermenu-plugin.
commit 3ce0d7017959922221ee71a4afba87046fb35d6d
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 fd1785d..a8145e0 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 ${CMAKE_INSTALL_LIBDIR}/xfce4/panel/plugins)
install(FILES ../whiskermenu.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/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