[CMake] 'MinGW Makefiles' generator can't link when using Intel Fortran
Ben Robinson
ben.robinson.msc at gmail.com
Mon Dec 8 16:19:10 EST 2014
Thank you Bill!
By running from the Intel command prompt shell, I am able to compile F90
code using CMake + MinGW Make + Intel Fortran. Then, in order to support
both CXX and Fortran, I set 'CXX=cl.exe' before calling CMake to generate
the project. This seems to work for now. I was surprised I didn't need to
run from within the VS command prompt shell to support C++, as I did for
Intel Fortran.
Of course, I am only using Makefiles for Fortran as a workaround until
there is CMake+Ninja+Fortran support. :P
Cheers,
Ben
On Mon, Dec 8, 2014 at 11:55 AM, Ben Robinson <ben.robinson.msc at gmail.com>
wrote:
> More information, I do not have msys in my path. My mingw32-make.exe
> version support the job server as it is version:
>
> GNU Make 3.82.90
> Built for i686-pc-mingw32
>
> My CMake version is 3.0.2.
>
> My Intel Fortran compiler version is:
>
> Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running
> on Intel(R) 64, Version 15.0.0.108 Build 20140726
>
> Thank you,
>
> Ben
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20141208/14321c21/attachment.html>
More information about the CMake
mailing list