Compare commits

..

1 Commits

Author SHA1 Message Date
Mathew 6d53a8c571
Merge 0cfff2e5da into 2b8c7c5f4b 2025-02-20 23:11:59 +08:00
2 changed files with 6 additions and 9 deletions

1
.gitignore vendored
View File

@ -6,6 +6,7 @@
.ccls-cache .ccls-cache
CMakeCache.txt CMakeCache.txt
CMakeFiles/ CMakeFiles/
Makefile
cmake_install.cmake cmake_install.cmake
compile_commands.json compile_commands.json
tags tags

View File

@ -12,10 +12,6 @@ if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release) set(CMAKE_BUILD_TYPE Release)
endif() endif()
if(CMAKE_EXPORT_COMPILE_COMMANDS STREQUAL "")
set(CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE BOOL "project default" FORCE)
endif()
# Add an option to enable treating warnings as errors # Add an option to enable treating warnings as errors
option(ENABLE_WERROR "Treat all compiler warnings as errors" OFF) option(ENABLE_WERROR "Treat all compiler warnings as errors" OFF)