Dear CMake experts, I appreciate your efforts resulting into the introduction of the CMAKE_[C|CXX]_COMPILER_VERSION variables from CMake version 2.8.10 ( http://www.cmake.org/pipermail/cmake/2012-January/048596.html ).
However, I would need also the CMAKE_Fortran_COMPILER_VERSION variable. Likewise we are working with older versions of CMake. For that reason I was searching for macros setting CMAKE_C_COMPILER_VERSION, but found none: [email protected]:~/work/programming/cmake_2.8.10.2/cmake-2.8.10.2/.grep CMAKE_C_COMPILER_VERSION * */* */*/* Modules/CMakeCCompiler.cmake.in:set(CMAKE_C_COMPILER_VERSION "@CMAKE_C_COMPILER_VERSION@") Modules/GenerateExportHeader.cmake: elseif(CMAKE_COMPILER_IS_GNUC AND CMAKE_C_COMPILER_VERSION VERSION_LESS "4.2") Modules/Platform/Windows-MSVC.cmake: if(CMAKE_C_COMPILER_VERSION) Modules/Platform/Windows-MSVC.cmake: set(_compiler_version ${CMAKE_C_COMPILER_VERSION}) Modules/Platform/Windows-wcl386.cmake: if(CMAKE_C_COMPILER_VERSION) Modules/Platform/Windows-wcl386.cmake: set(_compiler_version ${CMAKE_C_COMPILER_VERSION}) Tests/SystemInformation/SystemInformation.in:CMAKE_C_COMPILER_VERSION == "${CMAKE_C_COMPILER_VERSION}" Would it be possible to distribute also CMake source files which are setting the MAKE_[C|CXX]_COMPILER_VERSION variables ? I would like to use them as template for setting the CMAKE_Fortran_COMPILER_VERSION variable. Best, Miro -- 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
