View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015108CMakeCMakepublic2014-08-25 22:042015-01-05 08:39
ReporterMikhail Nikonov 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.12.2 
Target VersionCMake 3.1Fixed in VersionCMake 3.1 
Summary0015108: Platform information override files are not loaded for assembler.
DescriptionFiles defined by CMAKE_USER_MAKE_RULES_OVERRIDE and CMAKE_USER_MAKE_RULES_OVERRIDE_ASM are not loaded during assembler initialization.
Steps To Reproduce1. 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 InformationIt 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.
TagsNo tags attached.
Attached Filespatch file icon 0001-Load-CMAKE_USER_MAKE_RULES_OVERRIDE-_ASM-for-assembl.patch [^] (1,576 bytes) 2014-08-25 22:04 [Show Content]

 Relationships

  Notes
(0036681)
Brad King (manager)
2014-08-27 09:27

Applied, thanks:

 Load CMAKE_USER_MAKE_RULES_OVERRIDE[_ASM] for assembler
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=487f147f [^]
(0037621)
Robert Maynard (manager)
2015-01-05 08:39

Closing resolved issues that have not been updated in more than 4 months

 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


Copyright © 2000 - 2018 MantisBT Team