[CMake] How to specify default build dir in CMakeLists.txt?

Brandon J. Van Every bvanevery at gmail.com
Tue Sep 19 01:24:22 EDT 2006


Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
> 	The goal is to have an out-of-source build by default.
>   

That means you'd have to pick an out-of-source directory for the user.  
What do you imagine would be a non-annoying choice?  Do you have enough 
knowledge of the user's system to know where he wants to build stuff?  I 
think not.

I think what you really want are platform-specific subdirectories for 
building in your own source tree.


Cheers,
Brandon Van Every



More information about the CMake mailing list