summaryrefslogtreecommitdiffstats
path: root/Modules/FortranCInterface/Detect.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Convert CMake non-find modules to BSD LicenseBrad King2009-09-281-0/+11
| | | | | | | This adds copyright/license notification blocks CMake's non-find modules. Most of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices.
* Create FortranCInterface_VERIFY functionBrad King2009-08-241-0/+4
| | | | | | | This function builds a simple test project using a combination of Fortran and C (and optionally C++) to verify that the compilers are compatible. The idea is to help projects report very early to users that the compilers specified cannot mix languages.
* Teach FortranCInterface to load outside resultsBrad King2009-08-241-0/+165
We split the main detection logic into a Detect.cmake support module and load it only when detection results are not already available. This allows results computed by the main project to be used in try-compile projects without recomputing them. The call to try_compile() need only to pass FortranCInterface_BINARY_DIR through the CMAKE_FLAGS option.