[CMake] Best way to sniff for Fortran compiler?

Convey, Christian J CIV NUWC NWPT, B-171 christian.convey at navy.mil
Tue Dec 7 11:15:54 EST 2010


Any suggest for the most-proper way, in a CMakeLists.txt file, to determine whether the Intel vs. GNU fortran compiler will be used?

I need to use different sets of source files, and different compiler flags, depending on that detail.

Christian Convey
Scientist, NUWC Division Newport
1176 Howell St., Newport, RI 02842
email: christian.convey at navy.mil
phone: (401) 832-6824
fax: (401) 832-4749


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5218 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101207/9fc5050b/attachment.bin>


More information about the CMake mailing list