MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0015852 | CMake | (No Category) | public | 2015-11-19 08:45 | 2016-06-10 14:21 | |||||
Reporter | A. Klitzing | |||||||||
Assigned To | Brad King | |||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | OS | OS Version | ||||||||
Product Version | CMake 3.4 | |||||||||
Target Version | CMake 3.4.1 | Fixed in Version | CMake 3.4.1 | |||||||
Summary | 0015852: CMAKE_CXX_STANDARD broken since CMake 3.4.0 for toolchain files using CMakeForceCompiler | |||||||||
Description | We use the Android NDK/SDK and CMake (with Toolchain file [1]) to build our program. If we build our program with CMake 3.4.0 we will get compiler errors that we need to enable "-std=c++11 or -std=gnu++11". If we switch back to CMake 3.3.2 the flags will be defined by CMake and the build works. In our cmake files: SET(CMAKE_CXX_STANDARD 11) SET(CMAKE_CXX_STANDARD_REQUIRED ON) [1] https://github.com/taka-no-me/android-cmake [^] | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | -- ANDROID_NDK_RELEASE: r10e -- ANDROID_ABI: armeabi-v7a -- ANDROID_NATIVE_API_LEVEL: 18 -- ANDROID_TOOLCHAIN_ROOT: /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 -- ANDROID_SYSROOT: /opt/android-ndk/platforms/android-18/arch-arm -- ANDROID_TOOLCHAIN_NAME: arm-linux-androideabi-4.9 | |||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2015-11-19 08:45 | A. Klitzing | New Issue | ||||||||
2015-11-19 08:59 | Brad King | Target Version | => CMake 3.4.1 | |||||||
2015-11-19 09:46 | Brad King | Note Added: 0039882 | ||||||||
2015-11-19 09:50 | Brad King | Note Added: 0039883 | ||||||||
2015-11-19 09:50 | Brad King | Target Version | CMake 3.4.1 => | |||||||
2015-11-19 09:52 | Brad King | OS | Android NDK => | |||||||
2015-11-19 09:52 | Brad King | Platform | Android => | |||||||
2015-11-19 09:52 | Brad King | Summary | CMAKE_CXX_STANDARD broken since CMake 3.4.0 for Android => CMAKE_CXX_STANDARD broken since CMake 3.4.0 for toolchain files using CMakeForceCompiler | |||||||
2015-11-19 10:27 | Brad King | Note Added: 0039884 | ||||||||
2015-11-19 10:27 | Brad King | Note Added: 0039885 | ||||||||
2015-11-19 10:27 | Brad King | Assigned To | => Brad King | |||||||
2015-11-19 10:27 | Brad King | Status | new => resolved | |||||||
2015-11-19 10:27 | Brad King | Resolution | open => fixed | |||||||
2015-11-19 10:27 | Brad King | Fixed in Version | => CMake 3.4.1 | |||||||
2015-11-19 10:27 | Brad King | Target Version | => CMake 3.4.1 | |||||||
2016-03-04 04:36 | Rolf Eike Beer | Relationship added | has duplicate 0016004 | |||||||
2016-06-10 14:21 | Kitware Robot | Note Added: 0041237 | ||||||||
2016-06-10 14:21 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|