- --- a/CMakeLists.txt
- +++ b/CMakeLists.txt
- @@ -12,12 +12,7 @@ function(define_file_basename_for_source
- endforeach()
- endfunction()
-
- -set(CMAKE_BUILD_TYPE "Debug")
- -#set(CMAKE_BUILD_TYPE "Release")
- -
- -set(CMAKE_C_FLAGS "-Wall -Wextra --pedantic -Wno-strict-aliasing -Wno-variadic-macros")
- -set(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG")
- -set(CMAKE_C_FLAGS_RELEASE "-O2")
- +set(CMAKE_BUILD_TYPE "Release")
-
- if ((CMAKE_C_COMPILER_ID MATCHES GNU AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 9) OR
- (CMAKE_C_COMPILER_ID MATCHES Clang AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 10))
|