[CMake] current (2.5) CMakeForceCompiler
Yannick Cote
yhcote at gmail.com
Mon Mar 3 11:06:45 EST 2008
Hi,
visiting http://www.cmake.org/Wiki/CMake_Cross_Compiling, I discovered
a way to tell cmake not to test the C cross-compiler.
However the source tree has changed recently and including
"CMakeForceCompiler" will not work anymore.
CMake Error: Do not include the CMakeForceCompiler module. It is no
longer necessary. Update your toolchain file as follows.
I tried updating my Toolchain file as suggested but it ends up testing
the compiler which wont work with the project I work on simply because
the cross-compiler has to build source code from the project in order
to link successfully a simple test program.
What's the current way of dealing with this situation ?
Thanks,
- Y
More information about the CMake
mailing list