瀏覽代碼

Enable strict compilation by default

Ivan Savenko 2 年之前
父節點
當前提交
c6290c1a50
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -60,7 +60,7 @@ if(NOT ${CMAKE_VERSION} VERSION_LESS "3.16.0")
 endif(NOT ${CMAKE_VERSION} VERSION_LESS "3.16.0")
 option(ENABLE_GITVERSION "Enable Version.cpp with Git commit hash" ON)
 option(ENABLE_DEBUG_CONSOLE "Enable debug console for Windows builds" ON)
-option(ENABLE_STRICT_COMPILATION "Treat all compiler warnings as errors" OFF)
+option(ENABLE_STRICT_COMPILATION "Treat all compiler warnings as errors" ON)
 option(ENABLE_MULTI_PROCESS_BUILDS "Enable /MP flag for MSVS solution" ON)
 option(ENABLE_SINGLE_APP_BUILD "Builds client and server as single executable" OFF)
 option(COPY_CONFIG_ON_BUILD "Copies config folder into output directory at building phase" ON)