It would be something like:
${CMAKE_SOURCE_DIR)/build
In other words it would be a subdirectory of the top-level
source dir.
Yes, it would be annoying if the default was set to 'c:\'
or '/tmp/'. However, it is safe to assume that if the user can
compile source in '/some/dir/ (in-source)', he should also be able
to compile in '/some/dir/build' (subdir of source but out-of-source).
Again, this is just a default so the user wouldn't be forced to
use that directory.-- Artur Kedzierski -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brandon J. Van Every Sent: Monday, September 18, 2006 22:24 To: cmake Subject: Re: [CMake] How to specify default build dir in CMakeLists.txt? 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 _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
