MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015253 | CMake | CMake | public | 2014-11-16 21:13 | 2015-06-01 08:38 |
Reporter | karlhungus | ||||
Assigned To | |||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | AMD64 | OS | Windows | OS Version | 8.1 Pro |
Product Version | CMake 3.0.2 | ||||
Target Version | Fixed in Version | CMake 3.2 | |||
Summary | 0015253: Ninja generator causes build failure for ASM files via NASM | ||||
Description | On Windows (haven't tested on other platforms), the Ninja generator for ASM files compiled with NASM adds the "/showIncludes" flag to the NASM command line in "rules.ninja": ############################################# # Rule for compiling ASM_NASM files. rule ASM_NASM_COMPILER deps = msvc command = C:\dev\bin\nasm.exe $FLAGS /showIncludes -f win64 -o $out $in description = Building ASM_NASM object $out This causes a build failure with the error message: "nasm: error: more than one input file specified" Using YASM instead of NASM turns this into a warning instead of an error, but inconvenient nonetheless. Removing "/showIncludes" from the above line in "rules.ninja" fixes the error. | ||||
Steps To Reproduce | # Have nasm.exe in path # git clone https://boringssl.googlesource.com/boringssl [^] mkdir build cd build cmake -GNinja .. ninja | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | 0001-Ninja-Pass-only-the-flags-relevant-to-the-language.patch (1,923) 2015-01-28 07:33 https://public.kitware.com/Bug/file/5367/0001-Ninja-Pass-only-the-flags-relevant-to-the-language.patch | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-11-16 21:13 | karlhungus | New Issue | |||
2015-01-28 07:33 | Brian Smith | File Added: 0001-Ninja-Pass-only-the-flags-relevant-to-the-language.patch | |||
2015-01-28 07:34 | Brian Smith | Note Added: 0037848 | |||
2015-01-28 08:48 | Brad King | Note Added: 0037849 | |||
2015-01-30 10:17 | Brad King | Note Added: 0037868 | |||
2015-01-30 10:18 | Brad King | Status | new => resolved | ||
2015-01-30 10:18 | Brad King | Resolution | open => fixed | ||
2015-01-30 10:18 | Brad King | Fixed in Version | => CMake 3.2 | ||
2015-06-01 08:38 | Robert Maynard | Note Added: 0038864 | |||
2015-06-01 08:38 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|