Re: [CMake] Cross compile to platform with two stage compiler.

2014-07-02 Thread Eric LaFranchi
d "target file"? The compiler is not known to CMake and I assume that I will need to create a "Compiler"-C.cmake and put it in my local cmake modules path? Thanks, Eric From: Nils Gladitz [mailto:nilsglad...@gmail.com] Sent: Wednesday, July 02, 2014 11:34 AM To: Eric LaFran

[CMake] Cross compile to platform with two stage compiler.

2014-07-02 Thread Eric LaFranchi
Currently we have 16 different platform that we target that are a combination of native compiles and cross compiles. I am adding a new platform to our build system using CMake's cross compiling facility. This platform is unique in that compiling a ".c" file to get an ".o" file required two steps

Re: [CMake] Order of operations in CMakeLists.txt file?

2009-12-18 Thread Eric LaFranchi
Hendrik Sattler wrote: > Zitat von Eric LaFranchi : > > > I'm confused about the following documentation. > > > > The CMake FAQ section "How do I use a different compiler?" states: > > "Set the appropriate CMAKE_FOO_COMPILER variable(s) to a vali

[CMake] Order of operations in CMakeLists.txt file?

2009-12-17 Thread Eric LaFranchi
I'm confused about the following documentation. The CMake FAQ section "How do I use a different compiler?" states: "Set the appropriate CMAKE_FOO_COMPILER variable(s) to a valid compiler name or full path in a list file using set(). This must be done before any language is set (ie before any pro