Enabling compiler optimizations

master
Rodrigo Alfonso 3 years ago
parent acf69ec3b6
commit bf19dbfd4a
  1. 2
      CMakeLists.txt

@ -15,7 +15,7 @@ SET(BASE_CMAKE_LINK_FLAGS "${CMAKE_EXE_LINKER_FLAGS}")
SET(CMAKE_EXE_LINKER_FLAGS "${BASE_CMAKE_LINK_FLAGS} -mthumb-interwork -mthumb -specs=gba.specs")
SET(CMAKE_CXX_STANDARD 11)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-narrowing")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-narrowing -O3")
set(CMAKE_VERBOSE_MAKEFILE on)
project(gba-sprite-engine-project VERSION 0.1 LANGUAGES CXX)

Loading…
Cancel
Save