Dear users,

how do you specify the order of compilers to select from the system? That is, if the user didn't set neither CMAKE_C_COMPILER nor the env. var. CC, I wish the build system would pick one of the compilers from a given list. In AutoConf, this is achieved through AC_PROG_CC([clang gcc icc cc]) [1]. What would be the corresponding snippet in cmake?

Yours,

Quaquaraqua


[1] https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/C-Compiler.html

--

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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

Reply via email to