On Tuesday 19 August 2008, Mathieu Malaterre wrote:
...
> Is this the correct way of doing it ?
> 1. The way to differenciate a cross compiled project from a regular
> cmake one is by checking the value of CMAKE_TOOLCHAIN_FILE
IF(CMAKE_CROSSCOMPILING)
(since you could in theory also set up the handful of required variables in
another way).
> 2. I can always safely append '.exe' to the executable name ?
Better use ${CMAKE_EXECUTABLE_SUFFIX}
Alex
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake