diff --git a/.gitignore b/.gitignore index 54bb06ab0b..3c66f5686d 100644 --- a/.gitignore +++ b/.gitignore @@ -54,6 +54,7 @@ OpenSCAD_rc.py tags /CMakeUserPresets.json Testing +compile_commands.json # crowdin file src/Tools/freecad.zip diff --git a/CMakePresets.json b/CMakePresets.json index 24c844f2c5..094e1d75ca 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -10,6 +10,10 @@ "name": "common", "hidden": true, "cacheVariables": { + "CMAKE_EXPORT_COMPILE_COMMANDS": { + "type": "BOOL", + "value": "ON" + } } }, {