summaryrefslogtreecommitdiff
path: root/Source/cmGetTargetPropertyCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-03-17 19:40:37 +0100
committerBrad King <brad.king@kitware.com>2013-03-19 19:36:42 -0400
commit753b905ec86ffe369d4f59a7a8ced5fedc42939f (patch)
tree496e1fb9b08cb0fdb0ea70b3c468fcbed9ff5447 /Source/cmGetTargetPropertyCommand.cxx
parentd7a2a9c31905764906f8e917a8149264dd3aaac8 (diff)
downloadcmake-753b905ec86ffe369d4f59a7a8ced5fedc42939f.tar.gz
Automoc: append implicit includes after user-specified dirs
The commit d2536579 (Automoc: fix regression #13667, broken build in phonon, 2012-11-19) changed Automoc to try to re-add the Qt header dir if it was stripped out as an implicit include from the moc command line. When invoking a compiler, those directories are stripped out because they are built-in, but for moc, there are no built-in directories. The follow-up commit acc22400 (Automoc: get include dirs without stripping implicit include dirs off, 2012-12-07) went further by not removing the implicit include dirs, if they were specified specifically by the user. This had the remaining problem that the implicit include dirs appeared in a different order of precedence for moc compared to the compiler. Resolve that by stripping out the include dirs, where specified for the moc command line to, and then appending them at the end. Note that the order of the appended implicit include directories is the order they are specified in the CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES, not the order specified by the user.
Diffstat (limited to 'Source/cmGetTargetPropertyCommand.cxx')
0 files changed, 0 insertions, 0 deletions