How does KDevelop know where my build directory is?
Aleix Pol
aleixpol at kde.org
Wed Oct 8 21:04:35 BST 2014
On Mon, Oct 6, 2014 at 6:48 PM, Matthew Woehlke <
mw_triad at users.sourceforge.net> wrote:
> This is maybe a little OT, but...
>
> I use a set of stock scripts to e.g. set up and run my builds (as well
> as driving builds through KDevelop), such that I usually have an
> existing build before I import a project. I keep source and build
> separate at a high level, e.g. /path/to/src/group/project and
> /path/to/build/group/project
>
> I noticed recently that, instead of its old behavior of wanting to
> create a subdirectory 'build' in my source directory, KDevelop is
> somehow suddenly able to find my correct build directory. And it's
> driving me nuts wondering just how the heck it does that?
>
> Can someone enlighten me?
>
> Thanks,
>
Hi Matthew,
We have code [1] that replaces src by build and checks if that works. If it
does we just use this one.
Enjoy! :D
Aleix
[1]
https://projects.kde.org/projects/extragear/kdevelop/kdevelop/repository/revisions/master/entry/projectmanagers/cmake/cmakebuilddirchooser.cpp#L43
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20141008/dd9e75dc/attachment.html>
More information about the KDevelop
mailing list