Add IDE switch to CMake options, Add charset.png to dist

This commit is contained in:
2017-10-12 00:34:40 -05:00
parent 30a992efad
commit 329e8be825
9 changed files with 40 additions and 15 deletions

View File

@@ -1,13 +1,13 @@
cmake_minimum_required(VERSION 2.8.11)
if(WOMBAT_BUILD_TYPE STREQUAL "GBA")
if(NOSTALGIA_BUILD_TYPE STREQUAL "GBA")
enable_language(C ASM)
set(
CPP
gba/gfx.cpp
gba/media.cpp
)
elseif(WOMBAT_BUILD_TYPE STREQUAL "Native")
elseif(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
@@ -23,7 +23,7 @@ add_library(
core.cpp
)
if(WOMBAT_BUILD_TYPE STREQUAL "Native")
if(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
add_subdirectory(studio)
endif()