[CMake] Source file symlinks on out-of-source builds

Rodolfo Schulz de Lima rodolfo at rodsoft.org
Thu Dec 3 16:18:17 EST 2009


Michael Jackson wrote:
> True, but I can always change the "build" to something else if needed
> (like a release). 98% of the time using "Build" works just fine. I think
> there have been lots of great discussions and suggestions in this thread
> that you should be able to find something that works for you.

Indeed, it seems that everyone came up with a way to mitigate the
problem. And sorry to insist on this, but I still think that symlink
trees are easier to work with. Not that the other solutions are bad
(they really aren't). But I often see newcomers doing in-source builds
(because that's what they're used to) and complaining about source tree
pollution, requesting "make distclean", creating two source tree copies,
each one configured to one type of build (been there), etc.

I think that if cmake created symlink trees in first place, all this
fuss of coming up with solutions to work with out-of-source builds, or
complaints about the absence of "make distclean" and the link wouldn't
exist.

Well, it's been an informative thread nonetheless.

[]s,
rod



More information about the CMake mailing list