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                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to