Crate compile_commands
source ·Structs§
- Represents a single entry within a
compile_commands.jsonfile Eitherargumentsorcommandis required.argumentsis preferred, as shell (un)escaping is a possible source of errors.
Enums§
AllifCompilationDatabaseis generated from acompile_flags.txtfile, otherwiseFile()containing thefilefield from acompile_commands.jsonentry
Functions§
- For simple projects, Clang tools also recognize a
compile_flags.txtfile. This should contain one argument per line. The same flags will be used to compile any file.
Type Aliases§
- Represents a
compile_commands.jsonfile