Capitalise a few things in bin2h differently

This commit is contained in:
Clownacy 2020-01-30 01:21:04 +00:00
parent f1740a2c5e
commit 70f4f6fad5

View file

@ -7,9 +7,9 @@ endif()
option(LTO "Enable link-time optimisation" OFF)
option(NATIVE_OPTIMIZATIONS "Enable processor-specific optimisations (executable might not work on other architectures) (GCC-compatible compilers only)" OFF)
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(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)
@ -27,13 +27,13 @@ message(STATUS "Compiler ID : ${CMAKE_C_COMPILER_ID}")
if (CMAKE_C_COMPILER_ID MATCHES "Clang")
# Using Clang (this is a match so that we also get "AppleClang" which is the Apple-provided Clang
set(COMPILER_IS_CLANG true)
message(STATUS "Compiling with clang")
message(STATUS "Compiling with Clang")
endif()
if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
# Using GCC
set(COMPILER_IS_GCC true)
message(STATUS "Compiling with gcc")
message(STATUS "Compiling with GCC")
endif()
if (CMAKE_C_COMPILER_ID STREQUAL "Intel")