Brad King wrote: > Yegor Yefremov wrote: >> Alexander Neundorf wrote: >>> You should then get the variables CMAKE_(C|CXX)_COMPILER_ABI set to >>> either "ELF ARM" or "ELF ARMEABI". >> Do I see it right, that this variable is relevant when building CMake itself? > > No, it is set in each project that gets built. The reason it looks like it's > in a source file is because that source gets compiled for the target > environment > by CMake when it configures a project.
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. That is everything I could find in CMakeCache.txt referencing ABI: //Result of TRY_COMPILE CMAKE_DETERMINE_CXX_ABI_COMPILED:INTERNAL=TRUE //Result of TRY_COMPILE CMAKE_DETERMINE_C_ABI_COMPILED:INTERNAL=TRUE That's why I was thinking CMAKE_C_COMPILER_ABI is for building CMake itself relevant. Yegor _______________________________________________ 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