Re: [CMake] CMake cross-compilation best practices

2009-11-30 Thread Alexander Neundorf
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 el

Re: [CMake] CMake cross-compilation best practices

2009-11-30 Thread Romain CHANU
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. Cheers, Romain 2009/11/30 Johannes Stallkamp > Hello Romain, > > Romain CHANU schrieb: > > If I need to compile a library on both Linux and

Re: [CMake] CMake cross-compilation best practices

2009-11-30 Thread Johannes Stallkamp
Hello Romain, Romain CHANU schrieb: > If I need to compile a library on both Linux and Windows, the best > CMake practice would be to write toolchain files for Linux and > Windows (cf. http://www.cmake.org/Wiki/CMake_Cross_Compiling) > > Is that correct? Do you really want to cross-compile (i.e. b

[CMake] CMake cross-compilation best practices

2009-11-29 Thread Romain CHANU
Hi, If I need to compile a library on both Linux and Windows, the best CMake practice would be to write toolchain files for Linux and Windows (cf. http://www.cmake.org/Wiki/CMake_Cross_Compiling) Is that correct? Cheers, Romain Chanu ___ Powered by ww