<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 13.03.2014 17:40, Jack Stalnaker
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAOGUJ6EXNyghvPXiOuSgCfdMUjjfCf34r2F+2yKqunN6JxirZQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Can someone provide an example of Fortran_FORMAT in
        use? I cannot find anything other than a definition of the
        property online. Does one use
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    I am not much of a Fortran person but:<br>
    <br>
    <blockquote>cmake_minimum_required(VERSION 2.8.12)<br>
      <br>
      project(Foo Fortran)<br>
      <br>
      add_executable(free free.f)<br>
      set_target_properties(free PROPERTIES Fortran_FORMAT "FREE")<br>
      <br>
      add_executable(fixed fixed.f)<br>
      set_target_properties(fixed PROPERTIES Fortran_FORMAT "FIXED")<br>
    </blockquote>
    Produces the following compile command on my system (with the gnu
    Fortran compiler):<br>
    <br>
    <blockquote>/usr/bin/f95    -ffixed-form -c
      /home/ngladitz/src/test/fortran/fixed.f -o
      CMakeFiles/fixed.dir/fixed.f.o<br>
      /usr/bin/f95    -ffree-form -c
      /home/ngladitz/src/test/fortran/free.f -o
      CMakeFiles/free.dir/free.f.o<br>
    </blockquote>
    <br>
    The respective -ffixed-form -ffree-form options are compiler
    specific.<br>
    Which compiler are you using?<br>
    <br>
    Nils<br>
  </body>
</html>