MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015339 | CMake | CMake | public | 2015-01-07 08:46 | 2015-06-01 08:38 |
Reporter | Paweł Stankowski | ||||
Assigned To | Stephen Kelly | ||||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | *nix | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0015339: CXX_STANDARD does not support C++03 and C++14 | ||||
Description | CXX_STANDARD support only '98' and '11', but there is also C++03 standard that should be supported. When CXX_EXTENSIONS property is ON, "-std=gnu98" should be used, "-std=c++03" otherwise. C++14 standard is now finalized, so it could be added to CMake as well. GCC supports it since 4.8, Clang has complete support in version 3.4. MSVC 2013 also supports some C++14 features, but it does not need to be asked for enabling them. C++17 also may be enabled in newest clang by passing "-std=c++1z" argument. Not sure whether you are keen to standard drafts support to CMake, but you could add it as '1z' and then remove it when c++17 is finally published. I would not use '17' as its name, as name may be changed (C++11 was initialially called c++0x, because it was supposed to be published before 2010). | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-01-07 08:46 | Paweł Stankowski | New Issue | |||
2015-01-08 12:46 | Brad King | Severity | tweak => feature | ||
2015-01-08 12:46 | Brad King | Status | new => acknowledged | ||
2015-01-08 14:01 | Stephen Kelly | Note Added: 0037653 | |||
2015-01-08 14:01 | Stephen Kelly | Status | acknowledged => resolved | ||
2015-01-08 14:01 | Stephen Kelly | Resolution | open => fixed | ||
2015-01-08 14:01 | Stephen Kelly | Assigned To | => Stephen Kelly | ||
2015-06-01 08:38 | Robert Maynard | Note Added: 0038832 | |||
2015-06-01 08:38 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|