The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=15253
======================================================================
Reported By: karlhungus
Assigned To:
======================================================================
Project: CMake
Issue ID: 15253
Category: CMake
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-11-16 21:13 EST
Last Modified: 2014-11-16 21:13 EST
======================================================================
Summary: 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
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-11-16 21:13 karlhungus New Issue
======================================================================
--
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