MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015108 | CMake | CMake | public | 2014-08-25 22:04 | 2015-01-05 08:39 |
Reporter | Mikhail Nikonov | ||||
Assigned To | Brad King | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | CMake 2.8.12.2 | ||||
Target Version | CMake 3.1 | Fixed in Version | CMake 3.1 | ||
Summary | 0015108: Platform information override files are not loaded for assembler. | ||||
Description | Files defined by CMAKE_USER_MAKE_RULES_OVERRIDE and CMAKE_USER_MAKE_RULES_OVERRIDE_ASM are not loaded during assembler initialization. | ||||
Steps To Reproduce | 1. Create files: -- CMakeLists.txt: set(CMAKE_USER_MAKE_RULES_OVERRIDE override.cmake) project(Test C CXX ASM) -- override.cmake: set(CMAKE_C_FLAGS_INIT "-Wall") set(CMAKE_CXX_FLAGS_INIT "-Wall") set(CMAKE_ASM_FLAGS_INIT "-Wall") 2. Run cmake. After the run, CMAKE_ASM_FLAGS does not contain flag -Wall while C/CXX counterparts do. | ||||
Additional Information | It seems that Modules/CMakeASMInformation.cmake is responsible for loading the override files, but it doesn't contain the corresponding code; attached patch adopts missing fragment from CMake[C/CXX]Information.cmake. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://public.kitware.com/Bug/file/5232/0001-Load-CMAKE_USER_MAKE_RULES_OVERRIDE-_ASM-for-assembl.patch | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-08-25 22:04 | Mikhail Nikonov | New Issue | |||
2014-08-25 22:04 | Mikhail Nikonov | File Added: 0001-Load-CMAKE_USER_MAKE_RULES_OVERRIDE-_ASM-for-assembl.patch | |||
2014-08-26 17:00 | Alex Neundorf | Assigned To | => Alex Neundorf | ||
2014-08-26 17:00 | Alex Neundorf | Status | new => assigned | ||
2014-08-27 09:27 | Brad King | Note Added: 0036681 | |||
2014-08-27 09:27 | Brad King | Assigned To | Alex Neundorf => Brad King | ||
2014-08-27 09:27 | Brad King | Status | assigned => resolved | ||
2014-08-27 09:27 | Brad King | Resolution | open => fixed | ||
2014-08-27 09:27 | Brad King | Fixed in Version | => CMake 3.1 | ||
2014-08-27 09:27 | Brad King | Target Version | => CMake 3.1 | ||
2015-01-05 08:39 | Robert Maynard | Note Added: 0037621 | |||
2015-01-05 08:39 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|