On 10/25/2011 5:00 AM, Eric Noulard wrote:
2011/10/25 Phil Smith<p...@voltage.com>:
# Specify the cross-compilers
SET(CMAKE_C_COMPILER   "regina.exe" "cc.rex dcc.exe")
SET(CMAKE_CXX_COMPILER "regina.exe" "cc.rex dcxx.exe")

I think CMAKE_[C|CXX]_COMPILER vars are supposed to contain
a command not command + list of args.
If I'm wrong please someone (Alex, Bill,...) just tell me.

Correct.  Those variables always hold only the compiler name.
When they are built from environment variables like CC and CXX
we split the arguments out into a separate variable.  I think
the change in behavior came from this thread's change:

 http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/27857
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fd38eda9

Read my first message in that thread for an explanation.

-Brad
--

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