View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0010087 | CMake | CMake | public | 2009-12-30 18:18 | 2010-12-14 17:36 | ||||
Reporter | Mateusz Loskot | ||||||||
Assigned To | David Cole | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-8 | ||||||||
Target Version | Fixed in Version | CMake 2.8.3 | |||||||
Summary | 0010087: MSVC_VERSION is not set for Visual Studio 2010 (1600) | ||||||||
Description | I'm trying to use MSVC_VERSION variable and it looks like it is not being set for Visual Studio 2010. Here is simple test I do to check what variables are being set: MESSAGE(STATUS "MSVC=${MSVC}") MESSAGE(STATUS "MSVC80=${MSVC80}") MESSAGE(STATUS "MSVC90=${MSVC90}") MESSAGE(STATUS "MSVC10=${MSVC10}") MESSAGE(STATUS "MSVC_VERSION=${MSVC_VERSION}") which outputs: MSVC=1 MSVC80= MSVC90= MSVC10=1 MSVC_VERSION= I use CMake 2.8 on Windows 7 (64-bit). I call configure and generate using cmake-gui. | ||||||||
Additional Information | 1) Here output I get to build\CMakeFiles\CMakeCXXPlatform.cmake file of my project: SET(CMAKE_VC_COMPILER_TESTS_RUN 1) SET(CMAKE_COMPILER_SUPPORTS_PDBTYPE ) SET(CMAKE_COMPILER_2005 ) SET(CMAKE_USING_VC_FREE_TOOLS ) SET(CMAKE_CL_64 ) SET(MSVC60 ) SET(MSVC70 ) SET(MSVC71 ) SET(MSVC80 ) SET(MSVC90 ) SET(MSVC_IDE 1) SET(MSVC_VERSION ) SET(WIN32 1) | ||||||||
Tags | 2010, msvc10, visual studio | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0019017) Mateusz Loskot (reporter) 2009-12-30 18:21 |
This issue is similar to ID:0007944 - MSVC_VERSION is not set for Visual Studio 6 |
(0020756) Rolf Eike Beer (developer) 2010-05-17 04:48 |
I can't reproduce this, can you try running CMake from command line (make sure you are in a compiler shell) and post your exact command line you used? |
(0023987) David Cole (manager) 2010-12-14 17:36 |
This works in CMake 2.8.3. I get "1600" for MSVC_VERSION when I build with the Visual Studio 2010 generator. Please open a new bug with steps to reproduce if there is still a problem on your end... |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2009-12-30 18:18 | Mateusz Loskot | New Issue | |
2009-12-30 18:20 | Mateusz Loskot | Tag Attached: 2010 | |
2009-12-30 18:20 | Mateusz Loskot | Tag Attached: msvc10 | |
2009-12-30 18:20 | Mateusz Loskot | Tag Attached: visual studio | |
2009-12-30 18:21 | Mateusz Loskot | Note Added: 0019017 | |
2010-05-17 04:48 | Rolf Eike Beer | Note Added: 0020756 | |
2010-12-14 17:34 | David Cole | Relationship added | related to 0007944 |
2010-12-14 17:35 | David Cole | Assigned To | => David Cole |
2010-12-14 17:35 | David Cole | Status | new => assigned |
2010-12-14 17:36 | David Cole | Note Added: 0023987 | |
2010-12-14 17:36 | David Cole | Status | assigned => closed |
2010-12-14 17:36 | David Cole | Resolution | open => fixed |
2010-12-14 17:36 | David Cole | Fixed in Version | => CMake 2.8.3 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |