mirror of
https://github.com/reactos/CMake.git
synced 2025-02-21 04:11:03 +00:00

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.
4 lines
141 B
CMake
4 lines
141 B
CMake
SET(CMAKE_Fortran_VERBOSE_FLAG "-v")
|
|
set(CMAKE_Fortran_FORMAT_FIXED_FLAG "+source=fixed")
|
|
set(CMAKE_Fortran_FORMAT_FREE_FLAG "+source=free")
|