mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 12:40:06 +00:00
5c0c635a09
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.
5 lines
97 B
Fortran
5 lines
97 B
Fortran
! Free-format ".f" file to test Fortran_FORMAT property
|
|
SUBROUTINE WORLD
|
|
PRINT *, 'World!'
|
|
END
|