Update build system

This commit is contained in:
2016-12-23 17:29:19 -06:00
parent 5d3c02e077
commit 1053351da6
25 changed files with 203 additions and 92 deletions

View File

@ -6,10 +6,13 @@ set(WOMBAT_BUILD_TYPE "Native" CACHE STRING "The type of build to produce(Native
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)
include(address_sanitizer)
include(GBA)
if (WOMBAT_BUILD_TYPE STREQUAL "GBA")
include(GBA)
endif()
add_definitions(
-std=c++14
-std=c++11
-Wall
-Wsign-compare
-nostdlib