MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013961 | CMake | CMake | public | 2013-02-27 18:10 | 2016-06-10 14:31 |
Reporter | skislins | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | VS 2012 | OS | Windows | OS Version | 7 |
Product Version | CMake 2.8.11 | ||||
Target Version | Fixed in Version | ||||
Summary | 0013961: VS per-target PlatformToolset | ||||
Description | Especially when using VS 2012, the ability to choose a platform toolset is very import (e.g., compiling for WinXP, or using compiler updates for C++11 features). In the current developer branch, CMAKE_GENERATOR_TOOLSET can be found for that purpose and I guess it will be included in CMake 2.8.11. However, it causes an error during cache deletion which makes it necessary to delete the build directory and, in addition, to restart CMake GUI. | ||||
Steps To Reproduce | # PREREQUISITE: Install Visual C++ Compiler November 2012 CTP. # # (1) Open CMake GUI. # (2) Configure with Visual Studio 11 (Win64) generator. # (3) Compiler identification is MSVC 17.0.51106.1. # (4) Delete cache. # (5) Configure again with Visual Studio 11 (Win64) generator. # (6) Compiler identification is MSVC 17.0.51025.0 now. # (7) Check for working C compiler fails! # # IMPORTANT: Fails until the build directory is deleted or changed AND # CMake GUI is restarted! cmake_minimum_required(VERSION 2.8.10.20130220) project(Test) if(NOT MSVC_VERSION OR MSVC_VERSION LESS 1700) message(FATAL_ERROR "Select Visual Studio 11 (Win64) generator!") endif() # Enable C++11 features of the newest compiler set(CMAKE_GENERATOR_TOOLSET "v120_CTP_Nov2012" CACHE STRING "" FORCE) | ||||
Additional Information | Compiler updates are an important new strategy of MS to add new C++11 features step-by-step to VS 2012. Hence, please don't be too tentative regarding first class support/integration of this feature into CMake. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-02-27 18:10 | skislins | New Issue | |||
2013-02-28 07:11 | Brad King | Note Added: 0032407 | |||
2013-02-28 07:19 | Brad King | Note Added: 0032408 | |||
2013-02-28 07:20 | Brad King | Product Version | CMake 2.8.10.2 => CMake 2.8.11 | ||
2013-02-28 08:01 | skislins | Note Added: 0032409 | |||
2013-02-28 12:56 | Brad King | Note Added: 0032415 | |||
2013-02-28 12:56 | Brad King | Severity | major => feature | ||
2013-02-28 12:56 | Brad King | Status | new => backlog | ||
2013-02-28 12:56 | Brad King | Summary | CMAKE_GENERATOR_TOOLSET error for VS 2012 => VS per-target PlatformToolset | ||
2016-06-10 14:28 | Kitware Robot | Note Added: 0042241 | |||
2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | ||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|