[cmake-developers] [CMake 0016086]: Ninja generator doesn't handle multiple Mac apps using the same plist file with MACOSX_BUNDLE_INFO_PLIST

Mantis Bug Tracker mantis at public.kitware.com
Thu Apr 28 05:37:15 EDT 2016


The following issue has been SUBMITTED. 
====================================================================== 
https://cmake.org/Bug/view.php?id=16086 
====================================================================== 
Reported By:                Florent Castelli
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   16086
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-04-28 05:37 EDT
Last Modified:              2016-04-28 05:37 EDT
====================================================================== 
Summary:                    Ninja generator doesn't handle multiple Mac apps
using the same plist file with MACOSX_BUNDLE_INFO_PLIST
Description: 
If an app is using the same plist file using the target property
MACOSX_BUNDLE_INFO_PLIST, CMake will add a dependency on that plist file as it
is a template with variables that needs processing at generation time.

But if multiple apps are using the same plist template, CMake will add multiple
dependencies to the same file on the Re-Run target and Ninja will then warn:
ninja: warning: multiple rules generate ../Info.plist.in. builds involving this
target will not be correct; continuing anyway [-w dupbuild=warn]

A fix would probably be to deduplicate the dependencies for rerunning CMake.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-04-28 05:37 Florent CastelliNew Issue                                    
======================================================================



More information about the cmake-developers mailing list