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
======================================================================
--
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