D22217: Pass extra build flags to compiler for parsing.
Ben Wagner
noreply at phabricator.kde.org
Tue Jul 2 19:00:40 BST 2019
bungeman created this revision.
Herald added a project: KDevelop.
Herald added a subscriber: kdevelop-devel.
bungeman requested review of this revision.
REVISION SUMMARY
Passing all of the extra build flags though to the compiler detection of
includes and defines allows for flags like -nolibc, -nolibc++, -std=,
and -x from the build manager to override what is picked automatically.
The flags from the build manager go at the end and override any
defaults.
TEST PLAN
It appears difficult to test anything involving the build manager at the moment.
Let me know if it makes sense to add a TestBuildManager.
REPOSITORY
R32 KDevelop
BRANCH
nostd (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D22217
AFFECTED FILES
plugins/custom-definesandincludes/compilerprovider/compilerprovider.cpp
plugins/custom-definesandincludes/compilerprovider/gcclikecompiler.cpp
To: bungeman
Cc: kdevelop-devel, hmitonneau, christiant, glebaccon, domson, antismap, iodelay, alexeymin, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20190702/8776ed16/attachment.html>
More information about the KDevelop-devel
mailing list