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...
2 changes: 2 additions & 0 deletions 2 CMakeLists.txt Original file line numberDiff line numberDiff line change @@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.22) set(VCPKG_USE_HOST_TOOLS ON) set(CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE BOOL "Generate compile_commands.json for use...