-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow 'ninja -t compdb' accept targets
Test: ./ninja -t compdb --target wrong_target (fail) ./ninja -t compdb --target test_target (empty due to lack of rules) ./ninja -t compdb --target ninja,ninja_test cc cxx (ok) ./ninja -t compdb --target test_target cc cxx (ok) ./ninja -t compdb cxx (ok, regression test) ./ninja ninja_test && ./ninja_test (passed) Co-authored-by: Linkun Chen <lkchen@google.com> Co-authored-by: csmoe <csmoe@msn.com>
- Loading branch information
Showing
1 changed file
with
68 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters