[CMake] Control Object code destination?

Jesper Eskilson jesper at eskilson.se
Wed Apr 23 14:51:41 EDT 2008


Eric Torstenson wrote:
> Hi All,
> 
> I'm compiling my application on 4 platforms (linux 32 bit, linux 64 bit, 
> windows and mac) I would like to use my linux source tree for all of 
> them without having to recompile the whole thing each time I change from 
> one platform to the next.
> 
> Is there a way to do that? I looked at CMAKE_ARCHIVE_OUTPUT_DIRECTORY, 
> but it looks like it is the destination of the end products themselves, 
> and not the intermediate stuff.

Use separate build directories.

--
/Jesper




More information about the CMake mailing list