Browse Source

Merge branch 'stop-ignoring-some-compile-commands' of https://gitlab.com/cppit/jucipp

merge-requests/413/head
eidheim 3 years ago
parent
commit
847dcbf424
  1. 2
      src/compile_commands.cpp

2
src/compile_commands.cpp

@ -151,7 +151,7 @@ std::vector<std::string> CompileCommands::get_arguments(const boost::filesystem:
cmd_arguments[c] == "-MF") { // Exclude dependency file generation cmd_arguments[c] == "-MF") { // Exclude dependency file generation
ignore_next = true; ignore_next = true;
} }
else if(cmd_arguments[c] == "-c") { else if(cmd_arguments[c] == "-c" || cmd_arguments[c] == "--") {
} }
else else
arguments.emplace_back(cmd_arguments[c]); arguments.emplace_back(cmd_arguments[c]);

Loading…
Cancel
Save