[CMake] CMake cross-compilation best practices

Alexander Neundorf a.neundorf-work at gmx.net
Mon Nov 30 12:58:09 EST 2009


On Monday 30 November 2009, Romain CHANU wrote:
> Hi,
>
> Thank you for your answer.
>
> I want to compile on both Linux and Windows with the same CMakeLists.txt. I
> will have a look to the different variables.

Ok, so this is not cross compiling, you don't need any toolchain files or 
anything else which is related to cross compiling.
I suggest you start with something simple and then add features (build-wise) 
to it until you have what you need for your actual project.

Alex


More information about the CMake mailing list