MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015679 | CMake | CMake | public | 2015-08-04 12:45 | 2016-01-04 11:52 |
Reporter | Chris | ||||
Assigned To | |||||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | suspended | ||
Platform | Apple Mac | OS | OS X | OS Version | 10.10.4 |
Product Version | CMake 3.3 | ||||
Target Version | Fixed in Version | ||||
Summary | 0015679: 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. | ||||
Steps To Reproduce | |||||
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 | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-08-04 12:45 | Chris | New Issue | |||
2015-08-04 12:57 | Chandler Carruth | Note Added: 0039230 | |||
2015-08-05 10:55 | Brad King | Note Added: 0039241 | |||
2015-08-05 10:55 | Brad King | Status | new => resolved | ||
2015-08-05 10:55 | Brad King | Resolution | open => suspended | ||
2016-01-04 11:52 | Robert Maynard | Note Added: 0040129 | |||
2016-01-04 11:52 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|