summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/Cray-Fortran.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Fortran: Add support for submodules on CrayWillem Deconinck2019-07-081-0/+2
| | | | | | | | Define `CMAKE_Fortran_SUBMODULE_{SEP,EXT}` for the Cray Fortran compiler. Use an empty separator to tell CMake that this compiler does not use the enclosing module name as a prefix on submodule files. Issue: #18925
* Cray: Add common PIC flagsChuck Atkins2018-01-241-1/+6
| | | | Fixes #17208
* Fortran: Add support for free- and fixed-form flagsBrad King2011-08-311-0/+2
| | | | | | | Define a "Fortran_FORMAT" target and source file property. Initialize the target property from a "CMAKE_Fortran_FORMAT" variable. Interpret values "FIXED" and "FREE" to indicate the source file format. Append corresponding flags to the compiler command line.
* Teach CMake about Cray C, C++, and Fortran compilersBrad King2010-11-121-0/+4
The Cray Fortran compiler needs "-em" to enable module output and also "-J." to place the .mod files in the current working directory (instead of next to the .o file).