View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008067CMakeCMakepublic2008-11-10 00:512016-06-10 14:30
Reporterrory 
Assigned ToBill Hoffman 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0008067: Incorrect Default Flags with IFORT(10.1.025) and Visual Studio 2008
DescriptionWhen I create a 64-bit Fortran library project in Windows it incorrectly sets the runtime libraries and optimization flags.

The runtime library is always set to "Multithreaded" even in debug mode.

Also the optimization flags are mixed up:
Debug Mode -> Maximize Speed
MinSizeRel -> Maximize Speed
Release -> Minimize Speed /01
ReleaseWithDebInfo -> Minimize Speed /01
Additional InformationHere is my CMakeLists.txt file:

enable_language( Fortran )

FILE(GLOB SOURCE_FILES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}"
    "${CMAKE_CURRENT_SOURCE_DIR}/*.f")
    
add_library ( MyLib ${SOURCE_FILES} )

SET_TARGET_PROPERTIES(MyLib PROPERTIES COMPILE_FLAGS "/extend_source:132 /names:lowercase /assume:underscore" )
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0041469)
Kitware Robot (administrator)
2016-06-10 14:27

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2008-11-10 00:51 rory New Issue
2009-01-29 14:32 Bill Hoffman Status new => assigned
2009-01-29 14:32 Bill Hoffman Assigned To => Bill Hoffman
2016-06-10 14:27 Kitware Robot Note Added: 0041469
2016-06-10 14:27 Kitware Robot Status assigned => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:30 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team