Started on common and core packages.
This commit is contained in:
27
CMakeLists.txt
Normal file
27
CMakeLists.txt
Normal file
@ -0,0 +1,27 @@
|
||||
cmake_minimum_required(VERSION 2.8.8)
|
||||
|
||||
project(wombat)
|
||||
|
||||
set(WOMBAT_BUILD_TYPE "Native" CACHE STRING "The type of build to produce(Native/GBA)")
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)
|
||||
include(address_sanitizer)
|
||||
include(GBA)
|
||||
|
||||
add_definitions(
|
||||
-std=c++14
|
||||
-Wall
|
||||
-Wsign-compare
|
||||
-nostdlib
|
||||
-fno-exceptions
|
||||
-fno-rtti
|
||||
#-g
|
||||
#-fcolor-diagnostics
|
||||
-Werror
|
||||
#--analyze
|
||||
#-Os # GCC size optimization flag
|
||||
)
|
||||
|
||||
enable_testing()
|
||||
|
||||
add_subdirectory(src)
|
Reference in New Issue
Block a user