ref: 22f737e1394a9c5dccd3e8ae0eb950d90a6a96f4
parent: 404d748da78711906d910af488ea09edc44a5399
author: Clownacy <Clownacy@users.noreply.github.com>
date: Tue Oct 29 07:54:08 EDT 2019
Add WARNING 'option's to bin2h and DoConfig
--- a/DoConfig/CMakeLists.txt
+++ b/DoConfig/CMakeLists.txt
@@ -8,6 +8,9 @@
cmake_policy(SET CMP0072 NEW)
endif()
+option(WARNINGS "Enable common compiler warnings (for gcc-compatible compilers and MSVC only)" OFF)
+option(WARNINGS_ALL "Enable ALL compiler warnings (for clang and MSVC only)" OFF)
+option(WARNINGS_FATAL "Stop compilation on any compiler warning (for gcc-compatible compilers and MSVC only)" OFF)
option(FORCE_LOCAL_LIBS "Compile the built-in version of FLTK instead of using the system-provided one" OFF)
project(DoConfig LANGUAGES CXX)
--- a/bin2h/CMakeLists.txt
+++ b/bin2h/CMakeLists.txt
@@ -4,6 +4,10 @@
cmake_policy(SET CMP0069 NEW)
endif()
+option(WARNINGS "Enable common compiler warnings (for gcc-compatible compilers and MSVC only)" OFF)
+option(WARNINGS_ALL "Enable ALL compiler warnings (for clang and MSVC only)" OFF)
+option(WARNINGS_FATAL "Stop compilation on any compiler warning (for gcc-compatible compilers and MSVC only)" OFF)
+
project(bin2h LANGUAGES C)
add_executable(bin2h "bin2h.c")
--
⑨