-
- Downloads
Fortran: Add compiler ID/Version generator expressions
Adds `Fortran_COMPILER_ID` and `Fortran_COMPILER_VERSION` generator expression support to match equivalent `C_COMPILER_ID`, `CXX_COMPILER_ID`, `C_COMPILER_VERSION`, and `CXX_COMPILER_VERSION` support. This is very helpful in the case where the C/C++ compiler suite is a different type of compiler from the platform Fortran compiler and projects use generator expressions to assign compiler flags and definitions. (e.g. `GNU` C/C++ and `SunPro` Fortran on Linux)
Showing
- Auxiliary/vim/syntax/cmake.vim 2 additions, 0 deletionsAuxiliary/vim/syntax/cmake.vim
- Help/manual/cmake-generator-expressions.7.rst 13 additions, 0 deletionsHelp/manual/cmake-generator-expressions.7.rst
- Help/release/dev/fortran-compiler-id.rst 5 additions, 0 deletionsHelp/release/dev/fortran-compiler-id.rst
- Source/cmGeneratorExpressionNode.cxx 46 additions, 0 deletionsSource/cmGeneratorExpressionNode.cxx
- Tests/CMakeLists.txt 3 additions, 0 deletionsTests/CMakeLists.txt
- Tests/CompileOptions/CMakeLists.txt 17 additions, 0 deletionsTests/CompileOptions/CMakeLists.txt
- Tests/CompileOptions/main.cpp 11 additions, 4 deletionsTests/CompileOptions/main.cpp
- Tests/RunCMake/GeneratorExpression/NonValidTarget-Fortran_COMPILER_ID-result.txt 1 addition, 0 deletions...rExpression/NonValidTarget-Fortran_COMPILER_ID-result.txt
- Tests/RunCMake/GeneratorExpression/NonValidTarget-Fortran_COMPILER_ID-stderr.txt 9 additions, 0 deletions...rExpression/NonValidTarget-Fortran_COMPILER_ID-stderr.txt
- Tests/RunCMake/GeneratorExpression/NonValidTarget-Fortran_COMPILER_ID.cmake 4 additions, 0 deletions...eratorExpression/NonValidTarget-Fortran_COMPILER_ID.cmake
- Tests/RunCMake/GeneratorExpression/NonValidTarget-Fortran_COMPILER_VERSION-result.txt 1 addition, 0 deletions...ession/NonValidTarget-Fortran_COMPILER_VERSION-result.txt
- Tests/RunCMake/GeneratorExpression/NonValidTarget-Fortran_COMPILER_VERSION-stderr.txt 9 additions, 0 deletions...ession/NonValidTarget-Fortran_COMPILER_VERSION-stderr.txt
- Tests/RunCMake/GeneratorExpression/NonValidTarget-Fortran_COMPILER_VERSION.cmake 4 additions, 0 deletions...rExpression/NonValidTarget-Fortran_COMPILER_VERSION.cmake
- Tests/RunCMake/GeneratorExpression/RunCMakeTest.cmake 2 additions, 0 deletionsTests/RunCMake/GeneratorExpression/RunCMakeTest.cmake
Loading
Please register or sign in to comment