[cmake-developers] [CMake 0015459]: autogen broken for ninja generator
Mantis Bug Tracker
mantis at public.kitware.com
Thu Mar 19 00:54:13 EDT 2015
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15459
======================================================================
Reported By: Norbert Pfeiler
Assigned To:
======================================================================
Project: CMake
Issue ID: 15459
Category: CMake
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2015-03-19 00:54 EDT
Last Modified: 2015-03-19 00:54 EDT
======================================================================
Summary: autogen broken for ninja generator
Description:
Using automoc and autorcc,
cmake_autogen is only triggered when the resources change, leaving new or
changed header files unprocessed.
Ironically (at least on linux) the target is now ›cmake_automoc‹ and not
›cmake_autogen‹ anymore.
Additionally on Windows all resources get assigned to »ident*« variables whose
lines end with CRCRCRLF.
Ninja complains: »carriage returns are not allowed, use newlines«
The first 4 ident variables also only specify the source directory and no file
Steps to Reproduce:
use automoc and autorcc with the ninja generator
on windows: can’t build in the first place due to ninja complaining
on linux or after fixing the newlines on windows:
build → remove a generated moc file → build again → fail
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-03-19 00:54 Norbert PfeilerNew Issue
======================================================================
More information about the cmake-developers
mailing list