[prev in list] [next in list] [prev in thread] [next in thread]
List: cmake
Subject: Re: [CMake] [Fortran] Default flags for ifort on windows (and mxing
From: Maik Beckmann <beckmann.maik () googlemail ! com>
Date: 2009-06-25 15:51:26
Message-ID: 200906251751.26586.Beckmann.Maik () googlemail ! com
[Download RAW message or body]
Clinton Stimpson schrieb am Donnerstag 25 Juni 2009 um 16:38:
> On 06/25/2009 06:47 AM, Maik Beckmann wrote:
> > Hello,
> >
> > What about altering
> > SET (CMAKE_Fortran_FLAGS_INIT "/W1 /nologo /fpp")
> > SET (CMAKE_Fortran_FLAGS_RELEASE_INIT "/MD /O1 /D NDEBUG")
>>
> > SET (CMAKE_Fortran_FLAGS_INIT "/W1 /nologo /fpp /libs:dll /threads")
> > SET (CMAKE_Fortran_FLAGS_RELEASE_INIT "/MD /O1 /D NDEBUG")
>
> If you add /libs:dll to all build types, then you can take /MD out of
> CMAKE_Fortran_FLAGS_RELEASE_INIT> .
Right, just forgot to remove it :P.
> I had the same problem as you, and an almost identical patch sumbitted
> here: http://public.kitware.com/Bug/view.php?id=8744
>
> Clint
Your patch doesn't cover /MDd (/libs:dll /threads /dbglibs), I'll attach a
patch to you bug report, if you don't mind.
Best,
-- Maik
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic