Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow 'ninja -t compdb' accept targets #2319

Closed
wants to merge 2 commits into from

Commits on Jul 26, 2024

  1. 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 <[email protected]>
    Co-authored-by: csmoe <[email protected]>
    csmoe and Linkun Chen authored Jul 26, 2024
    Configuration menu
    Copy the full SHA
    99853a6 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Configuration menu
    Copy the full SHA
    25554ce View commit details
    Browse the repository at this point in the history