[cmake-developers] [CMake 0015583]: Windows-Intel-Fortran.cmake does not disable optimization in CMAKE_Fortran_FLAGS_DEBUG_INIT
Mantis Bug Tracker
mantis at public.kitware.com
Sat May 23 20:38:21 EDT 2015
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=15583
======================================================================
Reported By: ovz
Assigned To:
======================================================================
Project: CMake
Issue ID: 15583
Category: CMake
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2015-05-23 20:38 EDT
Last Modified: 2015-05-23 20:38 EDT
======================================================================
Summary: Windows-Intel-Fortran.cmake does not disable
optimization in CMAKE_Fortran_FLAGS_DEBUG_INIT
Description:
In
C:\Program Files
(x86)\CMake\share\cmake-3.2\Modules\Platform\Windows-Intel-Fortran.cmake
I see
set (CMAKE_Fortran_FLAGS_DEBUG_INIT "/debug:full /dbglibs")
set (CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "/O1 /D NDEBUG")
set (CMAKE_Fortran_FLAGS_RELEASE_INIT "/O2 /D NDEBUG")
As a result in my .vfproj I get /O2 in Debug mode.
I believe it should be
set (CMAKE_Fortran_FLAGS_DEBUG_INIT "/Od /debug:full /dbglibs")
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-05-23 20:38 ovz New Issue
======================================================================
More information about the cmake-developers
mailing list