D22667: Make the default build type "Debug" when compiling a git checkout.

David Faure noreply at phabricator.kde.org
Mon Jul 22 23:21:00 BST 2019


dfaure created this revision.
dfaure added a reviewer: kde-buildsystem.
Herald added projects: Frameworks, Build System.
Herald added a subscriber: kde-frameworks-devel.
dfaure requested review of this revision.

REVISION SUMMARY
  The idea comes from
  https://blog.kitware.com/cmake-and-the-default-build-type/
  but I adapted it to leave it empty for tarballs, to avoid messing up
  distribution packaging.
  
  The goal is to make this more sensible for [new] developers who just
  run cmake and end up with a "no debug symbols, no optimizations" build,
  i.e. the one and only completely useless combination of those two flags.
  
  Possible risk: distributions who compile from git checkouts...

TEST PLAN
  "mkdir build ; cd build ; cmake .." in kblog leads to CMAKE_BUILD_TYPE=Debug

REPOSITORY
  R240 Extra CMake Modules

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D22667

AFFECTED FILES
  kde-modules/KDECompilerSettings.cmake

To: dfaure, kde-buildsystem
Cc: kde-frameworks-devel, LeGast00n, sbergeron, bencreasy, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20190722/7f61ab2c/attachment.html>


More information about the Kde-buildsystem mailing list