BUG -DDEBUG -O1", you can set the COMPILE_FLAGS to "-DNDEBUG -UDEBUG
> -O3" and (in my experience with GCC and Clang) the compiler will prefer the
> latter flags.
>
> Cheers,
> Jack
>
>
> On Tue, May 6, 2014 at 8:13 AM,
> sind...@gmail.com
> >wrote:
>
>&
Dear All,
We currently have a FORTRAN library we’re building with CMake (around 1000
files of FORTRAN).
ADD_LIBRARY(
My_Fortran_Lib
…….
)
For the release build we set the release compilation flags with
“CMAKE_Fortran_FLAGS_RELEASE” and set “CMAKE_BUILD_TYPE” to “Release” for
those flags to b
his simple example and it worked fine as well.
I wonder if this approach has any drawbacks though?
Thanks again for all of your help, I really appreciate it!
M. Sindi
On Tue, May 24, 2011 at 3:44 PM, Brad King wrote:
> On 5/23/2011 2:15 PM, sind...@gmail.com wrote:
> > I have the bel