MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014392 | CMake | CMake | public | 2013-09-07 00:30 | 2014-03-05 09:58 |
Reporter | BryanM | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | PC | OS | Windows | OS Version | Windows 7 |
Product Version | CMake 2.8.10.2 | ||||
Target Version | Fixed in Version | ||||
Summary | 0014392: Multiple Versions of Visual Studio causing problems with configure | ||||
Description | Visual Studio 2010 and 2012 are both installed on this machine. Selected Generator: Visual Studio 11 Win 64 On first configure CMake detects MSVC_VERSION = 1700 and MSVC11 = 1, on subsequent configures (with no changes made at all)MSVC_VERSION = 1600. | ||||
Steps To Reproduce | I have Visual Studio 2010 and 2012 installed on this machine. CMake seems to be having trouble with this (I assume), as i have a case where the values of MSVC_VERSION will change for no reason with a configure. To help debug this issue I have the following prints in my CMakeLists.txt if(DEFINED MSVC11) message("MSVC11 = ${MSVC11}") endif() if(DEFINED MSVC_VERSION) message("MSVC_VERSION = ${MSVC_VERSION}") endif() To start with a fresh config I delete the cache, then click configure. I get prompted to select the generator for the project at which I select "Visual Studio 11 Win 64" and "Use default native compilers". On this first run, my prints output the following MSVC11 = 1 MSVC_VERSION = 1700 I then click configure again. This time, my prints change. MSVC_VERSION = 1600 Subsequent configures all list MSVC_VERSION = 1600. As I selected a generator for VisualStudio 11 and it detectes 11, I would expect this MSVC_VERSION to reamin 1700, rather than change to 1600 on all but the first configure calls. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-09-07 00:30 | BryanM | New Issue | |||
2013-09-09 10:33 | Brad King | Note Added: 0033791 | |||
2013-09-11 22:50 | BryanM | Note Added: 0033805 | |||
2013-09-12 08:27 | Brad King | Note Added: 0033807 | |||
2013-09-12 08:27 | Brad King | Status | new => resolved | ||
2013-09-12 08:27 | Brad King | Resolution | open => no change required | ||
2014-03-05 09:58 | Robert Maynard | Note Added: 0035255 | |||
2014-03-05 09:58 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|