Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22047

CMake: add "install/strip" command

    XMLWordPrintable

Details

    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cadam Cristian Adam
            cadam Cristian Adam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes