diff --git a/.gitignore b/.gitignore index 4b4b5fd..22b68bf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # Directories +.clangd/ build/ # Files diff --git a/CMakeLists.txt b/CMakeLists.txt index 5870e56..5ecb522 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,8 @@ set(GAME "game") cmake_minimum_required(VERSION 3.1) +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + # Check if the build should include debugging symbols option(DEBUG "" ON) if(DEBUG) diff --git a/compile_commands.json b/compile_commands.json new file mode 120000 index 0000000..25eb4b2 --- /dev/null +++ b/compile_commands.json @@ -0,0 +1 @@ +build/compile_commands.json \ No newline at end of file