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

Michael Wild themiwi at gmail.com
Fri Dec 4 03:50:00 EST 2009


On 3. Dec, 2009, at 23:23 , Rodolfo Lima wrote:

> John Drescher escreveu:
>> install screen
>
> Thanks for the tip but that's not my point in this whole thread (i.e.
> I'm not looking for solutions, I'm giving one).
>
> CMake does so much complicate things to make working with software
> projects a seamless experience across different platforms that I doubt
> that automatically managing a symlink tree is such a huge effort.

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.

Why make things complicated when you have such a simple option as  
having two terminals open? If you're using GNU screen, you can even  
split your terminal into several, individually sized windows. As an  
added plus, you don't "cross-pollute" your command line histories.  
When I'm in editing mode, I don't want to crawl through build  
commands, and vice versa.

My 2c...

Michael


More information about the CMake mailing list