You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
706 B

  1. --- a/CMakeLists.txt
  2. +++ b/CMakeLists.txt
  3. @@ -21,9 +21,9 @@ if(NOT CMAKE_BUILD_TYPE)
  4. message(STATUS "Setting build type to '${CMAKE_BUILD_TYPE}' as none was specified.")
  5. endif()
  6. -set(CMAKE_C_FLAGS "-Wall -Wextra --pedantic -Wno-strict-aliasing -Wno-variadic-macros")
  7. -set(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG")
  8. -set(CMAKE_C_FLAGS_RELEASE "-O2")
  9. +#set(CMAKE_C_FLAGS "-Wall -Wextra --pedantic -Wno-strict-aliasing -Wno-variadic-macros")
  10. +#set(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG")
  11. +#set(CMAKE_C_FLAGS_RELEASE "-O2")
  12. if ((CMAKE_C_COMPILER_ID MATCHES GNU AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 9) OR
  13. (CMAKE_C_COMPILER_ID MATCHES Clang AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 10))