<div dir="ltr">thank you Zaak!<div>you are right, after some more reading on this issue i should stick to .f90</div><div>as you suggest.</div><div>thank you for the clarification.</div><div>best regards,</div><div>  radovan</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 31, 2013 at 10:44 PM, Zaak Beekman <span dir="ltr">&lt;<a href="mailto:zbeekman@gmail.com" target="_blank">zbeekman@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5"><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></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" target="_blank">http://www.cmake.org/cmake/help/v2.8.8/cmake.html#variable:CMAKE_LANG_SOURCE_FILE_EXTENSIONS</a>]</div>


</div></div></div>
<br>--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br></div>