I think this will have no affect on Visual Studio builds (doesn't generate the file but doesn't hurt anything either). It does work on Windows using Ninja though. Haven't tested with this PR but I was manually setting-DCMAKE_GENERATE_COMPILE_COMMANDS=ONbefore. The change has been manual...
cmake doesn't support generating compile_commands.json for the MSBuild generator. If you want to generate compile_commands.json on Windows you'll have to use the Ninja generator Owner jacobdufault commented May 9, 2018 Which error? I just see the warning. Per above comment closing. jacob...