D7198: Set CMAKE_*_OUTPUT_DIRECTORY to run tests without installing.
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Wed Aug 30 03:00:35 UTC 2017
kossebau reopened this revision.
kossebau added inline comments.
This revision is now accepted and ready to land.
INLINE COMMENTS
> KDECMakeSettings.cmake:46-47
> +#
> +# When find_package(ECM 5.38) or higher is called, this also selects
> +# a layout for the build dir that helps running executables without installing.
> #
Trying to fix things for kdevelop tests, I have to report that as user of ECM this note does not really assist me, besides hinting there is random magic happening :(
So could you please add a comment telling what is that "layout" like, how does it help exactly running executables without installing? What other pre-conditions are need to be met? How should one rely on that layout in own cmake code?
Commits like https://phabricator.kde.org/D7347 which make use of the here undocumented `${CMAKE_LIBRARY_OUTPUT_DIRECTORY}` and then also point to yet another documentation source, on community.kde.org, instead of these docs, indicate things need some work here.
REPOSITORY
R240 Extra CMake Modules
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D7198
To: dfaure, cgiboudeaux, kfunk
Cc: kossebau, aacid, kfunk, #frameworks, #build_system
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20170830/5ceaf085/attachment.html>
More information about the Kde-buildsystem
mailing list