Yegor Yefremov wrote:
> O.K. Here are some lines of my CMakeLists.txt:
> 
> set (CMAKE_C_COMPILER arm-linux-gcc)
> set (CMAKE_STRIP arm-linux-strip) 
> message (STATUS "ABI ${CMAKE_C_COMPILER_ABI}") 
> 
> After running cmake I see only ABI as output and CMakeCache.txt doesn't 
> contain CMAKE_C_COMPILER_ABI variable at all.

It's in CMakeFiles/CMake*Compiler.cmake.  It works only after the
language is enabled by the project() or enable_language() command.
The compiler must be set before one of these commands runs.

-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