diff --git a/.gitignore b/.gitignore index fa62da2..adbfd6b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ build/ +.cache/ ### C ### # Prerequisites diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d08401..71537f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.20) set(CMAKE_C_STANDARD 17) set(CMAKE_C_STANDARD_REQUIRED True) +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + project(Tetris) add_executable(Tetris src/tetris.c src/gl.c)