• Michael Pyne's avatar
    Fix cxxflags being set to a space when globally empty. · b01505be
    Michael Pyne authored
    When cxxflags is globally set to an empty value, the getOption magic
    that appends module values to global values for cxxflags causes it the
    result to equal ' ' (i.e. one space). This is because the space is a
    separator between two empty values.
    
    This causes code testing against cxxflags to think it's actually been
    set to a value and to add it in the cmake calls.
    
    I fix this and add a test case, but also add some insurance by trimming
    leading/trailing white space so that the existing check for empty
    cxxflags would have had a chance to catch this.
    
    Differential Revision: https://phabricator.kde.org/D18165
    b01505be
Name
Last commit
Last update
doc Loading commit data...
modules/ksb Loading commit data...
t Loading commit data...
vim Loading commit data...
.arcconfig Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
CMakeLists.txt Loading commit data...
Internals.txt Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
ROADMAP Loading commit data...
custom-qt5-libs-build-include Loading commit data...
kdesrc-build Loading commit data...
kdesrc-build-setup Loading commit data...
kdesrc-build-test.pl Loading commit data...
kdesrc-buildrc-kf5-sample Loading commit data...
kf5-applications-build-include Loading commit data...
kf5-extragear-build-include Loading commit data...
kf5-frameworks-build-include Loading commit data...
kf5-kdepim-build-include Loading commit data...
kf5-qt5-build-include Loading commit data...
kf5-workspace-build-include Loading commit data...
sample-kde-env-master.sh Loading commit data...
sample-xsession.sh Loading commit data...