CMake Fortran Issues: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(Fortran Issues)
 
No edit summary
Line 1: Line 1:
__TOC__
= Introduction =
CMake has a number of Fortran issues that have been discussed many different times on list and duplicated a fair number of times in the bug tracker as well.
CMake has a number of Fortran issues that have been discussed many different times on list and duplicated a fair number of times in the bug tracker as well.


Line 10: Line 13:
* Sending simplified examples of things which don't work.
* Sending simplified examples of things which don't work.
* Sharing your expert knowledge of CMake.
* Sharing your expert knowledge of CMake.
= Concepts expressed using Makefiles =
This section is intended to discuss the makefile rules which CMake has to generate have to
look like.
== A simple program ==
A f9x program which is build by compiling in linking two source files ''a.f90'' and ''main.f90''.
The tree structure is:
* example_simpleProgram
** build
***  Makefile
*** prog.dir
**** build.make
** main.f90
** a.f90
<a.f90>
</a.f90>
<main.f90>
</main.f90>
<Makefile>
</Makefile>
<build.make>
</build.make>

Revision as of 19:54, 7 October 2007

Introduction

CMake has a number of Fortran issues that have been discussed many different times on list and duplicated a fair number of times in the bug tracker as well.

Maik Beckmann is trying to make sense of all the confusion by collecting information on all Fortran issues at http://www.cmake.org/Bug/view.php?id=5809

Please join the work there by

  • Contributing patches.
  • Testing the patches that already exist there.
  • Reporting things that don't work.
  • Sending simplified examples of things which don't work.
  • Sharing your expert knowledge of CMake.

Concepts expressed using Makefiles

This section is intended to discuss the makefile rules which CMake has to generate have to look like.

A simple program

A f9x program which is build by compiling in linking two source files a.f90 and main.f90. The tree structure is:

  • example_simpleProgram
    • build
      • Makefile
      • prog.dir
        • build.make
    • main.f90
    • a.f90

<a.f90> </a.f90>

<main.f90> </main.f90>

<Makefile> </Makefile>

<build.make>

</build.make>