View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014146CMakeCMakepublic2013-05-16 04:402013-10-07 10:09
Reporteradrien courdavault 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSwinOS Version8 64bit
Product VersionCMake 2.8.11 
Target VersionFixed in Version 
Summary0014146: Toolset selection does not work with NMake generator
DescriptionI cant use the toolset selection with the NMake generator.
I want to use CTP Nov 2012 v120 toolset of visual.
Steps To Reproducerun cmake -G"NMake Makefiles" with the toolset set to v120
Additional InformationMy platform is a completly up to date visual studio 2012 on Win 8
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0033053)
Nils Gladitz (developer)
2013-05-16 06:46

It is documented that the new toolset option only works with the Visual Studio >= 10 and Xcode >= 3.0 generators.

When using the "NMake Makefiles" generator CMake picks the compiler from the environment instead.

Visual Studio provides "Developer Command Prompt"s for that purpose.

If there isn't one for CTP Nov 2012 you might be able to use the Visual Studio 2012 Developer Command Prompt and from there prepend the new compiler "bin" and "include" paths in the PATH and INCLUDE environment variables.
(0033061)
Brad King (manager)
2013-05-16 11:56

The answer given in 0014146:0033053 is correct, so I'm resolving this issue. Please visit the mailing list if you need further help with the environment:

 http://www.cmake.org/mailman/listinfo/cmake [^]
(0034048)
Robert Maynard (manager)
2013-10-07 10:09

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

 Issue History
Date Modified Username Field Change
2013-05-16 04:40 adrien courdavault New Issue
2013-05-16 04:49 Rolf Eike Beer Product Version => CMake 2.8.11
2013-05-16 04:49 Rolf Eike Beer Summary CMake 2.8.11 rc4 => Toolset selection does not work with NMake generator
2013-05-16 04:49 Rolf Eike Beer Steps to Reproduce Updated
2013-05-16 06:46 Nils Gladitz Note Added: 0033053
2013-05-16 11:56 Brad King Note Added: 0033061
2013-05-16 11:56 Brad King Status new => resolved
2013-05-16 11:56 Brad King Resolution open => no change required
2013-10-07 10:09 Robert Maynard Note Added: 0034048
2013-10-07 10:09 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team