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

Bill Hoffman bill.hoffman at kitware.com
Fri Dec 4 08:22:30 EST 2009


Rodolfo Lima wrote:
> Michael Wild escreveu:
>> I once wrote a cmake-macro which created these symlink trees (only for
>> the headers, though). It was a huge PITA. With such symlink trees you
>> can never be really sure that they are consistent with the source tree.
> 
> I think I'm convinced now. The truth is: I've always worked with
> in-source build trees (always == 15+ years), having changed to
> out-of-source like 3 weeks ago because of the usual issues of the
> former. It's a little difficult to change 15+ years habits but I think I
> have now good reasons and tools to help.
> 
> 

Thanks for offering to help out with CMake.  It was a good discussion. 
We (meaning someone besides me) should probably create some sort of wiki 
entry as a result.  The entry could have various tips for setting up 
editors to handle out of source builds in a nice way.   I come from the 
opposite end of the spectrum having used CMake for almost 10 years now, 
I am quite used to out of source builds.

Thanks again, and if you have cycles for CMake work, there are plenty of 
bugs in the bug tracker... :)

-Bill


More information about the CMake mailing list