<div dir="ltr"><div>Hi,<br></div>It seems that try run does not support Fortran. Is this indeed the case?<br><div><div><div class="gmail_extra"><br></div><div class="gmail_extra">When I use try_run() in my CMakeLists.txt I get the following error:<br>

<br>
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(255,0,0)">CMake Error at CMakeLists.txt:9 (ADD_EXECUTABLE):</span></p>
<p style="margin:0px;text-indent:0px;color:rgb(255,0,0)">  Cannot find source file:</p>

<p style="margin:0px;text-indent:0px;color:rgb(255,0,0)">    getbigint.f90</p>

<p style="margin:0px;text-indent:0px;color:rgb(255,0,0)">  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp</p>
<p style="margin:0px;text-indent:0px;color:rgb(255,0,0)">  .hxx .in .txx</p>


<p style="margin:0px;text-indent:0px;color:rgb(255,0,0)">CMake Error: Internal CMake error, TryCompile generation of cmake failed</p><br></div><div class="gmail_extra">It seems that C and C++ are supported, but not Fortran. Is this correct? Should I file a bug report/feature request?<br>

<br></div><div class="gmail_extra"><div>Izaak Beekman<br>===================================<br>(301)244-9367<br>UMD-CP Visiting Graduate Student<br>Aerospace Engineering<br><a href="mailto:ibeekman@umiacs.umd.edu" target="_blank">ibeekman@umiacs.umd.edu</a><br>

<a href="mailto:ibeekman@umd.edu" target="_blank">ibeekman@umd.edu</a></div>
<br><br><div class="gmail_quote">On Wed, Oct 2, 2013 at 12:00 PM,  <span dir="ltr">&lt;<a href="mailto:cmake-request@cmake.org" target="_blank">cmake-request@cmake.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

Send CMake mailing list submissions to<br>
        <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:cmake-request@cmake.org">cmake-request@cmake.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:cmake-owner@cmake.org">cmake-owner@cmake.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of CMake digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: [cmake-developers] CMake 2.8.12-rc4 ready for testing!<br>
      (Nicolas Despr?s)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 2 Oct 2013 15:31:49 +0200<br>
From: Nicolas Despr?s &lt;<a href="mailto:nicolas.despres@gmail.com">nicolas.despres@gmail.com</a>&gt;<br>
Subject: Re: [CMake] [cmake-developers] CMake 2.8.12-rc4 ready for<br>
        testing!<br>
To: Robert Maynard &lt;<a href="mailto:robert.maynard@kitware.com">robert.maynard@kitware.com</a>&gt;<br>
Cc: CMake Developers &lt;<a href="mailto:cmake-developers@cmake.org">cmake-developers@cmake.org</a>&gt;, <a href="mailto:kde-devel@kde.org">kde-devel@kde.org</a>,<br>
        CMake MailingList &lt;<a href="mailto:cmake@cmake.org">cmake@cmake.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:CAPqtr1%2BD3ifsCtWoqU7z2shJ7JjS6QtcoGhShaDqAwqyBTMhSQ@mail.gmail.com">CAPqtr1+D3ifsCtWoqU7z2shJ7JjS6QtcoGhShaDqAwqyBTMhSQ@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hi,<br>
<br>
I have just download, compile and run the test suite on my Linux machine<br>
and I have two failing tests:<br>
<br>
The following tests FAILED:<br>
 25 - FindPackageTest (Failed)<br>
 291 - CTestTestMemcheckDummyValgrindInvalidSupFile (Failed)<br>
<br>
This is probably due to my setup. I have attached the log to this post.<br>
<br>
Cheers,<br>
-Nico<br>
<br>
<br>
<br>
<br>
<br>
On Tue, Oct 1, 2013 at 10:49 PM, Robert Maynard<br>
&lt;<a href="mailto:robert.maynard@kitware.com">robert.maynard@kitware.com</a>&gt;wrote:<br>
<br>
&gt; The CMake 2.8.12 release candidate stream continues!<br>
&gt; Thanks to numerous CMake users we uncovered a couple of critical<br>
&gt; regressions<br>
&gt; in RC3. We expect that RC4 will be the final RC unless a new critical,<br>
&gt; regression is discovered. You can find the source and binaries here:<br>
&gt;   <a href="http://www.cmake.org/files/v2.8/?C=M;O=D" target="_blank">http://www.cmake.org/files/v2.8/?C=M;O=D</a><br>
&gt;<br>
&gt; Some of the notable changes in this release are:<br>
&gt;<br>
&gt; - Introduced target_compile_options command<br>
&gt;   - Specify compile options to use when compiling a given target. Supports<br>
&gt;     PUBLIC, PRIVATE, and INTERFACE options. PRIVATE and PUBLIC items will<br>
&gt;     populate the COMPILE_OPTIONS property of the target. PUBLIC and<br>
&gt;     INTERFACE items will populate the INTERFACE_COMPILE_OPTIONS property<br>
&gt;     of the target. Supports generator expressions.<br>
&gt; - Introduced add_compile_options command<br>
&gt;   - Adds options to the compiler command line for sources in the<br>
&gt;     current directory and below. Supports generator expressions.<br>
&gt; - Introduced CMake Policy CMP0021:<br>
&gt;     - It is now an error to add relative paths to the INCLUDE_DIRECTORIES<br>
&gt;       target property.<br>
&gt; - Introduced CMake Policy CMP0022:<br>
&gt;   - Target properties matching<br>
&gt; (IMPORTED_)LINK_INTERFACE_LIBRARIES(_&lt;CONFIG&gt;)<br>
&gt;     are ignored, and will no longer be populated by the<br>
&gt; target_link_libraries<br>
&gt;     command. It is now an error to populate the properties directly in user<br>
&gt;     code. Instead use the INTERFACE keyword with target_link_libraries, or<br>
&gt;     the target property INTERFACE_LINK_LIBRARIES.<br>
&gt; - Introduced CMake Policy CMP0023:<br>
&gt;   - Plain and keyword target_link_libraries signatures cannot be mixed for<br>
&gt; a<br>
&gt;     given target when this policy is enabled. Once PUBLIC,PRIVATE, or<br>
&gt;     INTERFACE keywords are used, all subsequent target_link_libraries calls<br>
&gt;     to the target must use one of these keywords.<br>
&gt; - Introduced: Support for RPATH under OSX<br>
&gt;   - Please see the blog post by Clinton Stimpson about using RPATH on OSX<br>
&gt;     (<a href="http://www.kitware.com/blog/home/post/510" target="_blank">http://www.kitware.com/blog/home/post/510</a>)<br>
&gt;<br>
&gt; - CMake: New PUBLIC PRIVATE and INTERFACE options for target_link_libraries<br>
&gt; - CMake: New ALIAS targets feature<br>
&gt; - CMake: Automatically process Headers directory of Apple Frameworks as<br>
&gt;          a usage requirement<br>
&gt; - CMake: File command now supports the GENERATE command to produce files at<br>
&gt;          generate time<br>
&gt; - CMake: target_include_directories now supports the SYSTEM parameter<br>
&gt; - CMake: Add support for Java in cross compilation toolchains<br>
&gt; - CMake: Improved support for the IAR toolchain<br>
&gt; - CMake: Improved support for the ARM toolchain under Visual Studio<br>
&gt; - CMake: Improvements to the Visual Studio Generators Including<br>
&gt;   - Separate compiler and linker PDB files<br>
&gt;   - Support for subdirectory MSBuild projects<br>
&gt;   - Support for assembly code to VS10<br>
&gt;   - Support for Windows CE to VS11<br>
&gt; - CMake: Added COMPILE_OPTIONS target property.<br>
&gt; - CMake: Added INTERFACE_LINK_LIBRARIES added as a property to targets<br>
&gt; - CMake: Now supports .zip files with the tar command<br>
&gt; - CMake: try_compile now supports multiple source files<br>
&gt; - CMake: Optimized custom command dependency lookup<br>
&gt; - CMake: Removal of configured files will retrigger CMake when issuing a<br>
&gt;          build command<br>
&gt; - CMake: Ninja now tracks custom command generated files that aren&#39;t listed<br>
&gt;          as output<br>
&gt; - CMake: Added generator expression support for compiler versions<br>
&gt; - CMake-Gui: Add search functions for Output window<br>
&gt; - CTest: Improved memory checker support<br>
&gt; - FindGTK2: General Improvements<br>
&gt; - FindCUDA: Multiple improvements to the custom commands<br>
&gt;<br>
&gt;<br>
&gt; The bug tracker change log page for this version is at:<br>
&gt; <a href="http://public.kitware.com/Bug/changelog_page.php?version_id=112" target="_blank">http://public.kitware.com/Bug/changelog_page.php?version_id=112</a><br>
&gt;<br>
&gt; The complete list of changes in RC4 since RC3 can be found at:<br>
&gt; <a href="http://www.cmake.org/Wiki/CMake/ChangeLog" target="_blank">http://www.cmake.org/Wiki/CMake/ChangeLog</a><br>
&gt;<br>
&gt; As this is expected to be the last RC release please test it and report any<br>
&gt; regressions to the list or the bug tracker.<br>
&gt;<br>
&gt; Thanks<br>
&gt; --<br>
&gt;<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the CMake FAQ at:<br>
&gt; <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
Nicolas Despr?s<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.cmake.org/pipermail/cmake/attachments/20131002/4f235e80/attachment-0001.htm" target="_blank">http://www.cmake.org/pipermail/cmake/attachments/20131002/4f235e80/attachment-0001.htm</a>&gt;<br>


-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: test.log<br>
Type: application/octet-stream<br>
Size: 4705 bytes<br>
Desc: not available<br>
URL: &lt;<a href="http://www.cmake.org/pipermail/cmake/attachments/20131002/4f235e80/attachment-0001.obj" target="_blank">http://www.cmake.org/pipermail/cmake/attachments/20131002/4f235e80/attachment-0001.obj</a>&gt;<br>


<br>
------------------------------<br>
<br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
<br>
End of CMake Digest, Vol 114, Issue 4<br>
*************************************<br>
</blockquote></div><br></div></div></div></div>