C++ Compile Commands Contract
Version: 0.2.0-dev
The C++ integration consumes compile_commands.json and preserves the exact compilation environment needed for semantic analysis.
Required information:
- compiler executable;
- working directory;
- source path;
- include paths;
- macro definitions;
- C++ language standard;
- target/sysroot;
- relevant warning and ABI flags.
A module may contain both C and C++ compilation entries. The IDE must select the correct entry by source path and must not silently apply C++ arguments to a C translation unit or vice versa.