Mercurial > trustbridge
comparison ui/CMakeLists.txt @ 1019:4f999c7821ce 0.9
Strip created executables
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 02 Sep 2014 16:03:40 +0200 |
parents | 8fb1b912fd8e |
children | 126e5ce4d1d1 |
comparison
equal
deleted
inserted
replaced
1018:86181a99da76 | 1019:4f999c7821ce |
---|---|
221 install(TARGETS trustbridge-admin DESTINATION bin) | 221 install(TARGETS trustbridge-admin DESTINATION bin) |
222 if(UNIX) | 222 if(UNIX) |
223 configure_file(trustbridge-tray-starter.sh trustbridge-tray-starter.sh COPYONLY) | 223 configure_file(trustbridge-tray-starter.sh trustbridge-tray-starter.sh COPYONLY) |
224 install(FILES trustbridge-tray-starter.sh DESTINATION bin) | 224 install(FILES trustbridge-tray-starter.sh DESTINATION bin) |
225 endif() | 225 endif() |
226 | |
227 # Strip the binaries | |
228 if (WIN32) | |
229 add_custom_command( | |
230 TARGET trustbridge | |
231 POST_BUILD | |
232 COMMAND ${CMAKE_STRIP} trustbridge.exe | |
233 ) | |
234 add_custom_command( | |
235 TARGET trustbridge-admin | |
236 POST_BUILD | |
237 COMMAND ${CMAKE_STRIP} trustbridge-admin.exe | |
238 ) | |
239 else() | |
240 add_custom_command( | |
241 TARGET trustbridge | |
242 POST_BUILD | |
243 COMMAND strip trustbridge | |
244 ) | |
245 add_custom_command( | |
246 TARGET trustbridge-admin | |
247 POST_BUILD | |
248 COMMAND ${CMAKE_STRIP} trustbridge-admin | |
249 ) | |
250 endif() |