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

Rodolfo Schulz de Lima rodolfo at rodsoft.org
Thu Dec 3 15:46:11 EST 2009


Michael Jackson wrote:
> cmake -C ${workspace_loc}/${project_name}/Build -j 16 VERBOSE=1
> 
> And the executables (as setup in the Cmake files) are always built into
> Build/Bin.

This way you can only have one build tree per project. One way to extend
it is to use something like "Build_${build_type}" and set up variables
accordingly. But, IMHO, symlink trees are simpler to work with.

[]s.
rod

PS: I envy your -j16 :)



More information about the CMake mailing list