summaryrefslogtreecommitdiffstats
path: root/Modules/CheckFortranSourceRuns.cmake
Commit message (Collapse)AuthorAgeFilesLines
* CheckFortranSource*: Avoid passing -DVAR to linkerBrad King2020-02-281-4/+2
| | | | | | | | The test project is compiled with a `-DVAR` compiler flag where `VAR` is the result variable. Tell `try_compile` to add the flag through `add_definitions` instead of `CMAKE_Fortran_FLAGS` so that it is not used for linking. Otherwise some Fortran compilers (e.g. XL 15) do not like the flag when used to drive linking.
* Refactor: Use added message types in various modulesAlex Turbov2019-11-021-3/+3
| | | | Co-Authored-By: Craig Scott <craig.scott@crascit.com>
* CheckLangSourceRuns: Capture run output to log filesCraig Scott2019-02-231-1/+6
| | | Fixes: #18973
* Help: Add examples to CheckFortranSource{Runs,Compiles}Michael Hirsch, Ph.D2019-01-231-2/+14
|
* CheckFortranSourceRuns: Add module to check if Fortran code runsMichael Hirsch, Ph.D2019-01-101-0/+158
Add a Fortran equivalent to the existing `Check{C,CXX}SourceRuns` modules.