HomePhabricator

Use ninja to generate dep files for the native build

Authored by deadalnix on Mar 31 2020, 20:18.

Description

Use ninja to generate dep files for the native build

Summary:
This introduce a python script that is able to generate dep files from ninja.
The script is used to generate a proper dep file for re-running cmake for the native build, but it is generic and can be used for the native targets in the future.

Depends on D5624

Test Plan:

ninja
ninja # Check native build isn't ran again.
touch build.ninja
ninja # Native build runs again.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D5628

Details

Committed
deadalnixApr 1 2020, 14:56
Pushed
deadalnixApr 1 2020, 14:56
Reviewer
Restricted Project
Differential Revision
D5628: Use ninja to generate dep files for the native build
Parents
rABC26dc0c3112bc: Rebuild native executable when changes to the build system are made
Branches
Unknown
Tags
Unknown