[CMake] single source cross-compilation

Alexander Neundorf a.neundorf-work at gmx.net
Wed Dec 19 13:14:29 EST 2007


On Wednesday 19 December 2007, Alberto Luaces wrote:
> El Wednesday 19 December 2007 15:36:49 Fernando Cacciola escribió:
> > Is it possible to support different compilers and options from the same
> > source tree?
> >
> > If so, how?
>
> This behaviour is present by default, I think:
>
> http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees

Yes, you can build one source tree multiple times out-of-source, but in each 
build tree you can only use one toolchain (or you hack around it, which  
brings problems).

Alex


More information about the CMake mailing list