MantisBT - CMake
View Issue Details
0015411CMake(No Category)public2015-02-19 03:412015-07-08 08:57
Bryn Lloyd 
Brad King 
normalmajoralways
closedfixed 
x64Windows7
CMake 3.0.2 
CMake 3.2CMake 3.2 
0015411: Toolset is not updated/loaded correctly in CMake GUI
Switching projects (build dirs) using different toolset in CMake GUI changes the toolset of the second project.
We use the CMAKE_GENERATOR_TOOLSET option (or -T from command line).
For one project we use the intel compiler toolset with a Visual Studio 2012 generator, for others we don't specify the toolset.

When we switch from the project WITH an intel compiler toolset to another project in the CMake GUI, e.g. by selecting a different build folder, the second project suddenly also uses the intel compiler toolset.

It seems like CMake GUI has some global variable which is not updated when loading a different project.
No tags attached.
Issue History
2015-02-19 03:41Bryn LloydNew Issue
2015-02-19 09:15Brad KingNote Added: 0037999
2015-02-19 09:15Brad KingAssigned To => Brad King
2015-02-19 09:15Brad KingStatusnew => resolved
2015-02-19 09:15Brad KingResolutionopen => fixed
2015-02-19 09:15Brad KingFixed in Version => CMake 3.3
2015-02-19 09:15Brad KingTarget Version => CMake 3.3
2015-02-20 10:56Brad KingNote Added: 0038007
2015-02-20 10:56Brad KingFixed in VersionCMake 3.3 => CMake 3.2
2015-02-20 10:56Brad KingTarget VersionCMake 3.3 => CMake 3.2
2015-07-08 08:57Robert MaynardNote Added: 0039055
2015-07-08 08:57Robert MaynardStatusresolved => closed

Notes
(0037999)
Brad King   
2015-02-19 09:15   
Good catch. Fixed:

 cmake-gui: Reset generator platform and toolset on configure (0015411)
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1ade687d [^]
(0038007)
Brad King   
2015-02-20 10:56   
I've merged this back to the 'release' branch for the next 3.2 release candidate.
(0039055)
Robert Maynard   
2015-07-08 08:57   
Closing resolved issues that have not been updated in more than 4 months.