View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011093CMakeCMakepublic2010-08-04 10:512011-06-06 18:25
ReporterOlaf van der Spek 
Assigned ToDavid Cole 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in VersionCMake 2.8.4 
Summary0011093: [VS] Support static run-time
DescriptionCould you add support for using the static run-time in the VS generator?

I'd like to avoid the hack described in http://github.com/rpavlik/physical-modeling-utilities/blob/master/cmake/MSVCStaticRuntime.cmake [^]
TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0009445closedBill Hoffman Ability to select static runtime when use generator for MSVC 

  Notes
(0024822)
David Cole (manager)
2011-01-17 16:30

Ryan's MSVCStaticRuntime.cmake is not a hack. That's the right way to do this. It's MSVC specific, and can already be done in the CMAKE_CXX_FLAGS quite easily.

The only thing we could do in CMake is provide some variable or property that you set that makes this automatic. But it would still be MSVC specific, unless somebody goes to the next level and says "how can I generalize this to all the compilers that CMake supports"?

If you have a concrete proposal for how this could be generally useful across the set of compilers that CMake supports, by all means, re-open this issue for further discussion.
(0024843)
Olaf van der Spek (reporter)
2011-01-18 04:14

> Ryan's MSVCStaticRuntime.cmake is not a hack. That's the right way to do this.

It's not something I'd like to have in (my) files.

> But it would still be MSVC specific,

That's fine (for me). If later it's needed on another compiler, support for this feature on that compiler could be added at that time. But only if such a generic property is used, not if Ryan's non-hack is used.
(0026692)
David Cole (manager)
2011-06-06 18:25

Closing resolved issues that have not been updated in more than 3 months.

 Issue History
Date Modified Username Field Change
2010-08-04 10:51 Olaf van der Spek New Issue
2011-01-17 16:27 David Cole Assigned To => David Cole
2011-01-17 16:27 David Cole Status new => assigned
2011-01-17 16:30 David Cole Note Added: 0024822
2011-01-17 16:30 David Cole Status assigned => resolved
2011-01-17 16:30 David Cole Fixed in Version => CMake 2.8.4
2011-01-17 16:30 David Cole Resolution open => no change required
2011-01-18 04:14 Olaf van der Spek Note Added: 0024843
2011-01-18 04:14 Olaf van der Spek Status resolved => feedback
2011-01-18 04:14 Olaf van der Spek Resolution no change required => reopened
2011-01-18 11:38 David Cole Status feedback => assigned
2011-02-03 18:33 David Cole Relationship added duplicate of 0009445
2011-02-03 18:33 David Cole Status assigned => resolved
2011-02-03 18:33 David Cole Resolution reopened => duplicate
2011-06-06 18:25 David Cole Status resolved => closed
2011-06-06 18:25 David Cole Note Added: 0026692


Copyright © 2000 - 2018 MantisBT Team