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()

View File

@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 2.8.11)
if(WOMBAT_BUILD_TYPE STREQUAL "Native")
if(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
add_library(
NostalgiaCore-Studio SHARED
import_tilesheet_wizard.cpp
@@ -17,5 +17,16 @@ target_link_libraries(
OxStd
)
install(TARGETS NostalgiaCore-Studio
LIBRARY DESTINATION lib/nostalgia)
install(
TARGETS
NostalgiaCore-Studio
LIBRARY DESTINATION
lib/nostalgia
)
install(
FILES
charset.png
DESTINATION
share/core
)

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB