Put back gnu99 standard, we use some of the features

This commit is contained in:
Jeffrey Pfau 2014-07-23 22:57:25 -07:00
parent ec4eb253e5
commit 6bbb1d5b43
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
cmake_minimum_required(VERSION 2.6)
project(GBAc)
set(BINARY_NAME gbac CACHE INTERNAL "Name of output binaries")
set(CMAKE_C_FLAGS_DEBUG "-g -Wall -Wextra -std=c99")
set(CMAKE_C_FLAGS_RELEASE "-O3 -Wall -Wextra -std=c99")
set(CMAKE_C_FLAGS_DEBUG "-g -Wall -Wextra -std=gnu99")
set(CMAKE_C_FLAGS_RELEASE "-O3 -Wall -Wextra -std=gnu99")
set(USE_CLI_DEBUGGER ON CACHE BOOL "Whether or not to enable the CLI-mode ARM debugger")
set(USE_GDB_STUB ON CACHE BOOL "Whether or not to enable the GDB stub ARM debugger")
set(BUILD_SDL ON CACHE BOOL "Build SDL frontend")