The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15679 
====================================================================== 
Reported By:                Chris
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15679
Category:                   CMake
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-08-04 12:45 EDT
Last Modified:              2015-08-04 12:45 EDT
====================================================================== 
Summary:                    ExternalProject with Ninja generator should import
sub-project's build.ninja into the parent project
Description: 
Ninja's scheduling works best if it has a full picture of what you're building.
Doing that in projects that extensively use ExternalProject can be tricky. To
make this work I believe CMake needs to do 3 things that it doesn't do today.

(1) ExternalProject needs to prefix all the rules and targets in the ninja file
it generates so that they don't conflict with the parent project's rules or
targets
(2) ExternalProject calls to CMake need to be marked as Generator rules in Ninja
so that Ninja will re-exec itself after running CMake
(3) ExternalProject needs to generate Ninja includes in the parent project.

Additional Information: 
This request is coming out of the LLVM developer community. As we're moving more
actively to CMake we are leveraging ExternalProject more and more for generating
cross-compiled targets, bootstrapping the compiler and generating test targets.
We believe these improvements to ExternalProject will make for a better
developer experience on our end.

Thanks,
-Chris
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-08-04 12:45 Chris          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

Reply via email to