diff --git a/CMakeLists.txt b/CMakeLists.txt index 4c1c057..5c571ed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,9 @@ add_compile_definitions(_CRT_SECURE_NO_WARNINGS) add_subdirectory("vendor/SDL") +# some IDEs / text editors require compile_commands.json +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + # Add source to this project's executable. add_subdirectory("src")