Add IDE switch to CMake options, Add charset.png to dist
This commit is contained in:
@@ -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()
|
||||
|
||||
|
@@ -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
|
||||
)
|
||||
|
BIN
src/nostalgia/core/studio/charset.png
Normal file
BIN
src/nostalgia/core/studio/charset.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
Reference in New Issue
Block a user