[cmake-developers] [CMake 0015108]: Platform information override files are not loaded for assembler.
Mantis Bug Tracker
mantis at public.kitware.com
Mon Aug 25 22:04:09 EDT 2014
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15108
======================================================================
Reported By: Mikhail Nikonov
Assigned To:
======================================================================
Project: CMake
Issue ID: 15108
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-08-25 22:04 EDT
Last Modified: 2014-08-25 22:04 EDT
======================================================================
Summary: 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.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-08-25 22:04 Mikhail NikonovNew Issue
2014-08-25 22:04 Mikhail NikonovFile Added:
0001-Load-CMAKE_USER_MAKE_RULES_OVERRIDE-_ASM-for-assembl.patch
======================================================================
More information about the cmake-developers
mailing list