<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


dear all,<br>
<br>
it seems that CMake currently does not support .f03/.F03 suffix<br>
for Fortran 2003 files.<br>
<br>
is there a way for me to tell CMake to treat these files as it would treat<br>
files ending with .f90 or .f95. i can then assign special flags to them via<br>
source file<br>
properties.<br>
<br>
thank you in advance &amp; best regards,<br>
  radovan<br></blockquote><div><br></div><div>Radovan,</div><div>I&#39;m curious why you want to use .f03 or .f08 extensions. Some compilers--like Intel&#39;s--explicitly forbid this. For portability I would recommend sticking with the .f90 suffix.</div>

<div><br></div><div>I suspect you can adjust the following variable to implement a work around, although I am a CMake newbie and have not tried it myself: CMAKE_Fortran_SOURCE_FILE_EXTENSIONS [<a href="http://www.cmake.org/cmake/help/v2.8.8/cmake.html#variable:CMAKE_LANG_SOURCE_FILE_EXTENSIONS">http://www.cmake.org/cmake/help/v2.8.8/cmake.html#variable:CMAKE_LANG_SOURCE_FILE_EXTENSIONS</a>]</div>

</div></div></div>