[Differential] [Request, 4 lines] D3730: Fix build in out-of-source builds
tcanabrava (Tomaz Canabrava)
noreply at phabricator.kde.org
Mon Dec 19 10:21:36 UTC 2016
tcanabrava created this revision.
Restricted Application added a subscriber: kdevelop-devel.
REVISION SUMMARY
Code seemed right, but for some reason the folder path was empty:
[ 5%] Building CXX object CMakeFiles/kdevclangtidy.dir/src/plugin.cpp.o
/usr/bin/c++ -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB
-DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkdevclangtidy_EXPORTS
-I/home/tcanabrava/Projects/kdesrc/build/kdev-clang-tidy
-I/home/tcanabrava/Projects/kdesrc/kdev-clang-tidy -I/src
the -I/src should have been:
-I/home/tcanabrava/Projects/kdesrc/kdev-clang-tidy/src
my setup is:
Projects/sources/blah
Projects/builds/blah
Maybe the current way worked with inner build folders.
Signed-off-by: Tomaz Canabrava <tcanabrava at kde.org>
REPOSITORY
R218 KDev Clang-Tidy Support
BRANCH
fix_build
REVISION DETAIL
https://phabricator.kde.org/D3730
AFFECTED FILES
CMakeLists.txt
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: tcanabrava
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20161219/d2dc0be5/attachment-0001.html>
More information about the KDevelop-devel
mailing list