[CMake] CMake still broken post-2.8.1
Phil Smith
phil at voltage.com
Wed Oct 26 15:12:59 EDT 2011
Thanks, Bill; I will try that and report back.
-----Original Message-----
From: Bill Hoffman [mailto:bill.hoffman at kitware.com]
Sent: Wednesday, October 26, 2011 12:43 PM
To: Phil Smith
Cc: a.neundorf-work at gmx.net; cmake at cmake.org; David Cole; Janet Graff; Brad King
Subject: Re: [CMake] CMake still broken post-2.8.1
So, since this is a cross compile situation, there is really no need to
run the compiler id code. You should be able to put the following into
your toolchain file and avoid the compiler id check code altogether:
SET(CMAKE_C_COMPILER_ID_RUN 1)
SET(CMAKE_C_PLATFORM_ID "MyPlatform")
SET(CMAKE_C_COMPILER_ID "MyCompiler")
Does that work, or does it get stuck somewhere else?
-Bill
More information about the CMake
mailing list