[CMake] Cross-compiling: Cmake compiler and ABI check don´t work / TRY_COMPILE and EXECUTABLE_SUFFIX problem
Schmid Alexander
A.Schmid at de.ccv.eu
Wed Feb 23 01:46:21 EST 2011
> This suffix should be set by the platform file.
> Modules/CMakeSystemSpecificInformation.cmake includes
> CMakeGenericSystem.cmake, which sets it to "". That's what you see.
>
> Then it includes Platform/${CMAKE_SYSTEM_NAME}, which is
> Platform/Generic.cmake. This file does not change the suffix, so it stays
> empty for you.
>
> If you need a different suffix, you probably have to come up with a name for
> your platform and provide a platform file for it, which sets the name.
>
> Alex
Hi Alex,
thanks a lot. That was the solution to my problem.
Although, I still wonder whether I should have set the suffixes (see David Cole's posting...)
Regards,
Alex
More information about the CMake
mailing list