Thanks, Bill; I will try that and report back.

-----Original Message-----
From: Bill Hoffman [mailto:bill.hoff...@kitware.com] 
Sent: Wednesday, October 26, 2011 12:43 PM
To: Phil Smith
Cc: a.neundorf-w...@gmx.net; cmake@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
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to