D7930: Kdevelop CMake plugin : use canonical paths to build.dir
René J.V. Bertin
noreply at phabricator.kde.org
Sat Sep 23 12:05:24 UTC 2017
rjvbb added a comment.
To come back to the original subject, here's an example of an include statement that could easily go wrong when executed from a working directory that is not canonical but has a symlink in it that changes the directory level:
/home/bertin/work/src/Scratch/KDE/KF5/kk-git/build/kdevplatform/sublime/examples/example2_autogen/EWIEGA46WW/moc_example2main.cpp:108: undefined reference to `Sublime::MainWindow::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/example2.dir/example2_autogen/mocs_compilation.cpp.o: In function `~Example2Main':
/home/bertin/work/src/Scratch/KDE/KF5/kk-git/build/kdevplatform/sublime/examples/example2_autogen/EWIEGA46WW/../../../../../../kdevplatform/sublime/examples/example2main.h:24: undefined reference to `Sublime::MainWindow::~MainWindow()'
(Taken from an error message that's hopefully not relevant here)
REPOSITORY
R32 KDevelop
REVISION DETAIL
https://phabricator.kde.org/D7930
To: rjvbb, #kdevelop, apol
Cc: flherne, mwolff, apol, kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170923/6bedae5a/attachment.html>
More information about the KDevelop-devel
mailing list