View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012459CMakeModulespublic2011-09-15 04:362016-06-10 14:31
ReporterDaniel Franke 
Assigned ToKitware Robot 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0012459: wish: CheckFortranSourceCompiles.cmake/CheckFortranCompilerFlags.cmake
DescriptionIt would be nice to have CheckFortranSourceCompiles.cmake CheckFortranCompilerFlags.cmake similar to CheckC[XX]SourceCompiles.cmake and
CheckC[XX]CompilerFLags.cmake.
TagsNo tags attached.
Attached Files? file icon CheckFortranCompilerFlag.cmake [^] (1,097 bytes) 2012-07-06 07:35
? file icon CheckFortranSourceCompiles.cmake [^] (2,680 bytes) 2012-07-06 07:35

 Relationships

  Notes
(0027497)
Maik Beckmann (reporter)
2011-09-30 07:12

I second this feature request.

The MKL that intel's current fortran compiler ships needs openmp to be activa. It would be nice to be able to just write something like

 check_fortran_source_compiles(
 "
 program openmp_test
   use omp_lib
 end program openmp_test
 "
 FORTRAN_OPENMP)

I will most likely copy&paste the content CheckCSourceCompiles.cmake and adapt it. If I'm happy with the results, I'll post it here.
(0029928)
Daniel Franke (reporter)
2012-07-06 07:38

I've uploaded two files based on the corresponding CXX versions that work for me. Maybe they could be included at some point?

Thanks.
(0041903)
Kitware Robot (administrator)
2016-06-10 14:28

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2011-09-15 04:36 Daniel Franke New Issue
2011-09-30 07:12 Maik Beckmann Note Added: 0027497
2012-04-11 18:23 Rolf Eike Beer Category CMake => Modules
2012-07-06 07:35 Daniel Franke File Added: CheckFortranCompilerFlag.cmake
2012-07-06 07:35 Daniel Franke File Added: CheckFortranSourceCompiles.cmake
2012-07-06 07:38 Daniel Franke Note Added: 0029928
2016-06-10 14:28 Kitware Robot Note Added: 0041903
2016-06-10 14:28 Kitware Robot Status new => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team