[CMake] Fortran MinGW on Windows

Arjen Markus arjen.markus at deltares.nl
Fri May 31 06:48:34 EDT 2013


On Fri, 31 May 2013 09:47:47 +0000
  "Leek, Jim" <leek2 at llnl.gov> wrote:
> Oh, if there any cmake way to get the fortran link flags 
>I need to pass to g++? I know -lgfortran is all I need in 
>this case, but if there was a generic way to get cmake to 
>figure it out for me, that would be nice.
> 

I am not aware of any such feature and a quick survey of 
the
documentation (and even some of module files that come 
with
CMake) did not reveal anything either.

For several years now, the trend has been to build dynamic
libraries, rather than static ones. I guess there are pros
and cons for both. I have a preference for static 
libraries
myself too, but sometimes that is simply not possible.

Regards,

Arjen

 

DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail.






More information about the CMake mailing list