Details
-
Bug
-
Resolution: Done
-
P5: Not important
-
Qt Creator 4.9.0-beta1
-
15a7e08eda4aec93094575e74473c6d5ea635318 (qt-creator/tqtc-qt-creator/master)
Description
CMake has the (undocumented) "install/strip" command for Ninja & Makefile generators.
It does what the name says first installs and then strips the binaries, by using the CMAKE_STRIP_PROGRAM which gets autodetected by CMake.
With GCC/Clang you get by default with CMake binaries with debug information, which when deployed on a device takes longer time and it's unnecessary, since the binaries with debug information in the build folder reside.
I have seen differences between 400MiB vs 70MiB.