add a --cmake option that takes a cmake build directory as parameter
and reads the compile_commands.json file.
For the provided file it extracts the arguments listed relevant to the preprocessor and adds them to its list of arguments.
To start maybe only the -D, -U, -I, -iquote, -std options
add a
--cmake
option that takes a cmake build directory as parameter and reads thecompile_commands.json
file. For the provided file it extracts the arguments listed relevant to the preprocessor and adds them to its list of arguments. To start maybe only the-D
,-U
,-I
,-iquote
,-std
optionsExample: