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                 
  
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to