[cmake-developers] [CMake 0015154]: Ninja complains about missing rule
Mantis Bug Tracker
mantis at public.kitware.com
Fri Sep 12 12:23:46 EDT 2014
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=15154
======================================================================
Reported By: Clinton Stimpson
Assigned To:
======================================================================
Project: CMake
Issue ID: 15154
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-09-12 12:23 EDT
Last Modified: 2014-09-12 12:23 EDT
======================================================================
Summary: Ninja complains about missing rule
Description:
With the attached example project, Ninja will complain with an error saying
"ninja: error: 'lib/libmylib.a', needed by 'myapp', missing and no known rule to
make it"
I'm using ExternalProject_Add() and then using imported library targets.
I then set the imported target to depend on the ExternalProject to make sure it
is up to date.
This works fine with Visual Studio, NMake, Make, Xcode, etc....
Steps to Reproduce:
See attached project.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-09-12 12:23 Clinton StimpsonNew Issue
2014-09-12 12:23 Clinton StimpsonFile Added: test-ninja-external-build.tar.gz
======================================================================
More information about the cmake-developers
mailing list