Add the "output" keyword into the compile_commands.json generated by the extension to make sure that the scenario of compiling the same source into multiple outputs is correctly represented.
Note for implementation: use explicit output switches (-o, -out, -Fe, -Fo, etc...), if none present use "Must remake target Target Name" message from dryrun or build log (generated with --debug switch for make). If no such text identified then don't generate "output" keyword at all (it is optional anyway) because there is no information to help me differentiate from the current compilation of the given source file and any other different compilation of that same source file (for example, we don't track yet copy/rename/move operations of the output result).
Add the "output" keyword into the compile_commands.json generated by the extension to make sure that the scenario of compiling the same source into multiple outputs is correctly represented.
Note for implementation: use explicit output switches (-o, -out, -Fe, -Fo, etc...), if none present use "Must remake target
Target Name" message from dryrun or build log (generated with --debug switch for make). If no such text identified then don't generate "output" keyword at all (it is optional anyway) because there is no information to help me differentiate from the current compilation of the given source file and any other different compilation of that same source file (for example, we don't track yet copy/rename/move operations of the output result).