[CMake] How to specify default build dir in CMakeLists.txt?
Kedzierski,
Artur CIV NAVSURFWARCENDIV CORONA
artur.kedzierski at navy.mil
Mon Sep 18 13:07:50 EDT 2006
Hi,
I am pretty new to CMake. Is there a way to specify a
default build dir in CMakeLists.txt? Something like:
CMAKE_BUILD_DIR(./build)
or
CMAKE_BUILD_DIR($SRC_DIR/build)
which would be equivalent to:
mkdir build
../ccmake
That should be portable as well. For example,
on Windows, the user would open CMakeLists.txt in CMakeSetup
and see
'Where is the source code: c:\MyProgram\'
'Where to build the binaries: c:\MyProgram\build'
I appreciate any help.
Thank You.
--
Artur Kedzierski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4670 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20060918/2e1ecb05/smime.bin
More information about the CMake
mailing list