MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0010848 | CMake | CMake | public | 2010-06-17 12:30 | 2016-06-10 14:31 | |||||
Reporter | Andreas Johansen | |||||||||
Assigned To | Kitware Robot | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | closed | Resolution | moved | |||||||
Platform | OS | OS Version | ||||||||
Product Version | CMake-2-8 | |||||||||
Target Version | Fixed in Version | |||||||||
Summary | 0010848: Issue with space in paths used for <OBJECT> and <SOURCE> in CMAKE_ASM | |||||||||
Description | Having applied the fix from here: http://www.cmake.org/Bug/view.php?id=8170 [^] I finally got CMake generating custom build commands for my .asm files. However, there is an issue when the path to either the .obj file that should be generated, or the the source to use. For example; In CMakeASM_MASMInformation.cmake the line SET(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "<CMAKE_ASM${ASM_DIALECT}_COMPILER> <FLAGS> /c /Fo <OBJECT> <SOURCE>") Has at least two issues: <OBJECT> and <SOURCE> is expanded to the path of the files when generating the project file for VS, but when passing this path to the assembler causes an issue as the path has to be enclosed with " ". Hence, the above line should be changed to the following; SET(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "<CMAKE_ASM${ASM_DIALECT}_COMPILER> <FLAGS> /c /Fo \"<OBJECT>\" \"<SOURCE>\"") There is also extensive use of both <OBJECT> and <SOURCE> in CMakeASMInformation.cmake that also should be fixed to be enclosed with " " | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2010-06-17 12:30 | Andreas Johansen | New Issue | ||||||||
2010-07-13 09:24 | Bill Hoffman | Status | new => assigned | |||||||
2010-07-13 09:24 | Bill Hoffman | Assigned To | => Alex Neundorf | |||||||
2011-03-10 15:11 | Alex Neundorf | Relationship added | related to 0008170 | |||||||
2011-10-23 09:42 | Alex Neundorf | Note Added: 0027630 | ||||||||
2012-01-04 15:56 | Alex Neundorf | Note Added: 0028174 | ||||||||
2012-01-04 15:56 | Alex Neundorf | Assigned To | Alex Neundorf => | |||||||
2012-01-04 15:56 | Alex Neundorf | Status | assigned => new | |||||||
2012-01-04 16:18 | Alex Neundorf | Note Added: 0028181 | ||||||||
2012-01-04 16:18 | Alex Neundorf | Assigned To | => Alex Neundorf | |||||||
2012-01-04 16:18 | Alex Neundorf | Status | new => backlog | |||||||
2012-01-04 16:19 | Alex Neundorf | Assigned To | Alex Neundorf => | |||||||
2016-06-10 14:28 | Kitware Robot | Note Added: 0041711 | ||||||||
2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | |||||||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | |||||||
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | |||||||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|