diff options
author | David Faure <faure@kde.org> | 2019-07-23 00:16:51 +0200 |
---|---|---|
committer | David Faure <faure@kde.org> | 2019-07-23 12:46:05 +0200 |
commit | a212a92190d4b85d9276af9ee70f66dd140fcdb0 (patch) | |
tree | 85039d5b822df2cee243276069c5c7b622f8d59f /Jenkinsfile_master_kf5-qt5_linux_gcc | |
parent | 5478a88d5ffecfb93af25632f86a00d1c3a06cda (diff) | |
download | extra-cmake-modules-a212a92190d4b85d9276af9ee70f66dd140fcdb0.tar.gz extra-cmake-modules-a212a92190d4b85d9276af9ee70f66dd140fcdb0.tar.bz2 |
Make the default build type "Debug" when compiling a git checkout.
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
Reviewers: kde-buildsystem, cgiboudeaux
Reviewed By: cgiboudeaux
Subscribers: cgiboudeaux, apol, kde-frameworks-devel
Tags: #frameworks, #build_system
Differential Revision: https://phabricator.kde.org/D22667
Diffstat (limited to 'Jenkinsfile_master_kf5-qt5_linux_gcc')
0 files changed, 0 insertions, 0 deletions