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

Brad King brad.king at kitware.com
Mon Sep 18 15:09:55 EDT 2006


Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
> 	I am pretty new to CMake. Is there a way to specify a 
> default build dir in CMakeLists.txt?

The build directory is always a user selection.  There can be more than
one build tree per source tree so trying to turn an in-source invocation
into an out-of-source build does not make sense.

-Brad


More information about the CMake mailing list