Fortran_PREPROCESS.rst 732 B

1234567891011121314151617
  1. Fortran_PREPROCESS
  2. ------------------
  3. Control whether the Fortran source file should be unconditionally preprocessed.
  4. If unset or empty, rely on the compiler to determine whether the file
  5. should be preprocessed. If explicitly set to ``OFF`` then the file
  6. does not need to be preprocessed. If explicitly set to ``ON``, then
  7. the file does need to be preprocessed as part of the compilation step.
  8. When using the :generator:`Ninja` generator, all source files are
  9. first preprocessed in order to generate module dependency
  10. information. Setting this property to ``OFF`` will make ``Ninja``
  11. skip this step.
  12. Consider using the target-wide :prop_tgt:`Fortran_PREPROCESS` property
  13. if all source files in a target need to be preprocessed.