CMake/Tests/FortranOnly/IntelIfDef.inc
Brad King fb9da8e6f4 Ninja: Pass preprocessor definitions when compiling with Intel Fortran
The Intel Fortran compiler supports an extension that allows conditional
compilation based on preprocessor definitions specified on the command
line even when not preprocessing.

Fixes: #19664
2019-09-03 14:20:26 -04:00

4 lines
91 B
SQL

CDEC$ IF .NOT. DEFINED(SOME_DEF)
CDEC$ INCLUDE 'SOME_DEF not defined'
CDEC$ END IF