[CMake] OS X build directory
Mike Jackson
imikejackson at gmail.com
Mon Sep 17 11:48:15 EDT 2007
The easiest way is to create the folder BEFORE cmake is run. I do the
same thing on OS X for gcc and intel compilers.
mkdir intel; cd intel; ccmake ../
mdkir gcc; cd gcc; ccmake ../
Unless Cmake takes as an argument the build directory to use? Don't
know the answer to that one.
--
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
On Sep 17, 2007, at 11:24 AM, Paul Dean wrote:
> I'm trying to keep my make files and project files orginized in
> their own folders.
>
> Source Dir --
> |
> | - VC2005
> | - XCode
> | - UnixMake
> etc.
>
> This works fine for win32 as I can choose the Build directory in
> the CMake GUI i.e "C:\Project\VC2005"
>
> However, I have tried to do this for OS X and have been unsuccessful.
> I've tried things like
>
> SET (CMAKE_FILES_DIRECTORY "/XCode")
>
> and
>
> SET (CMAKE_CURRENT_BINARY_DIR "/XCode")
>
>
> sorry for the newbie question. But how would one include something
> like this into their script?
> i.e. ...
>
> if(xcode){
> //make folder for xcode and put all cmake and project files there
> }
> if(VC2005){
> //make folder for VC2005 and put all cmake and project files there
> }
>
> Thanks in advance :)
>
> _________________________________________________________________
> More photos; more messages; more whatever. Windows Live Hotmail -
> NOW with 5GB storage. http://imagine-windowslive.com/hotmail/?
> locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_5G_0907
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list