summaryrefslogtreecommitdiffstats
path: root/Tests/CheckFortran.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Extend Fortran compiler informationMarc Chevrier2020-05-251-0/+3
| | | | Fill variable `CMake_Fortran_COMPILER_ID`.
* Tests: Avoid hanging on check for FortranBrad King2017-11-061-0/+1
| | | | Use a timeout when running the check for Fortran in case the tools hang.
* Tests: Pass generator instance into check for FortranBrad King2017-11-061-0/+6
| | | | | Check for a Fortran compiler using the same VS instance that we are testing.
* Tests: Pass generator platform and toolset into check for FortranBrad King2017-03-081-0/+2
| | | | | Check for a Fortran compiler that supports the same target platform as we are testing.
* Simplify CMake per-source license noticesBrad King2016-09-271-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* Tests: Check if Fortran compiler supports F90Brad King2016-09-221-0/+3
|
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* Honor real language flags in FortranC.Flags testBrad King2009-12-151-1/+6
| | | | | | The test overrides the CMAKE_C_FLAGS and CMAKE_Fortran_FLAGS to test passing a specific flag to the compiler wrapper scripts. We fix it to honor any outside flags needed for the real compiler.
* New decision method to enable Fortran testsBrad King2009-12-101-0/+45
CMake does not enable Fortran for its own build, but it needs to find a Fortran compiler to know if it is possible to enable Fortran tests. Previously we searched for a hard-coded list of Fortran compilers which was duplicated from the CMakeDetermineFortranCompiler.cmake module. We now run CMake on a small test project that enables the Fortran language and reports the compiler it found. This represents a more realistic check of whether the Fortran tests will be able to find a compiler.