[CMake] OS X build directory

Paul Dean aquawicket at hotmail.com
Mon Sep 17 11:24:56 EDT 2007


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



More information about the CMake mailing list