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