Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Documentation request for dummies: how to correctly generate compile_commands.json! #1

@GwynethLlewelyn

Description

@GwynethLlewelyn

For utter newbies like myself, it would save time if I knew that the correct way of invoking cmake to generate the compile_commands.json file is to run cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1.

It was the missing =1 that made all the difference! 🤣 D'uh!...

Source: https://stackoverflow.com/a/38040375/1035977

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