Skip to content

Add option to update the compile_commands.json file instead of regenerating all of it #12

@guimafelipe

Description

@guimafelipe

When working in solutions with multiple projects, it is common to build just one specific project at a time and generate a log file for it. Users might want the possibility to update the already existing compile_commands.json changing only the entries for the files that are present in this log, leaving all the other files as they are.

For that, we could have a -u or --update flag that implements this behavior if the compile_commands.json already exists.

Usage:
ms2cc.exe --input-file <PATH_TO_MSBUILD.LOG> --source-directory <PATH_TO_PROJECT_SOURCE> --update

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions