MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0016004 | CMake | CMake | public | 2016-03-02 16:22 | 2016-03-04 04:36 | |||||
Reporter | ajneu | |||||||||
Assigned To | ||||||||||
Priority | normal | Severity | major | Reproducibility | N/A | |||||
Status | closed | Resolution | duplicate | |||||||
Platform | Linux | OS | Debian | OS Version | Debian Stretch | |||||
Product Version | CMake 3.4.3 | |||||||||
Target Version | Fixed in Version | |||||||||
Summary | 0016004: CMAKE_CXX_STANDARD and CMAKE_CXX_EXTENSIONS not working for crosscompilers | |||||||||
Description | Hi, If I have somethings like this... set (CMAKE_SYSTEM_NAME "Generic") include(CMakeForceCompiler) cmake_force_c_compiler( "arm-none-eabi-gcc" GNU) cmake_force_cxx_compiler("arm-none-eabi-g++" GNU) project(now_starts_the_project) set (CMAKE_CXX_STANDARD 11) set (CMAKE_CXX_EXTENSIONS OFF) ... then I do not get the expected -std=c++11 flags, when viewing with make VERBOSE=1. | |||||||||
Steps To Reproduce | see above. And do sudo apt-get install binutils-arm-none-eabi gcc-arm-none-eabi libstdc++-arm-none-eabi-newlib libnewlib-arm-none-eabi | |||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2016-03-02 16:22 | ajneu | New Issue | ||||||||
2016-03-03 07:14 | ajneu | Note Added: 0040591 | ||||||||
2016-03-04 04:36 | Rolf Eike Beer | Relationship added | duplicate of 0015852 | |||||||
2016-03-04 04:36 | Rolf Eike Beer | Status | new => closed | |||||||
2016-03-04 04:36 | Rolf Eike Beer | Resolution | open => duplicate |
Notes | |||||
|
|||||
|
|