[nostalgia] Add option to build without Studio
This commit is contained in:
@@ -9,7 +9,7 @@ if(NOSTALGIA_BUILD_TYPE STREQUAL "GBA")
|
||||
gba/mem.cpp
|
||||
gba/panic.cpp
|
||||
)
|
||||
elseif(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
|
||||
elseif(NOSTALGIA_BUILD_STUDIO)
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
@@ -19,6 +19,13 @@ elseif(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
|
||||
userland/media.cpp
|
||||
userland/mem.cpp
|
||||
)
|
||||
else()
|
||||
set(
|
||||
CPP
|
||||
qt/gfx.cpp # does not currently use any Qt stuff, but will need to replace with SDL version
|
||||
userland/media.cpp
|
||||
userland/mem.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
add_library(
|
||||
@@ -27,7 +34,7 @@ add_library(
|
||||
core.cpp
|
||||
)
|
||||
|
||||
if(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
|
||||
if(NOSTALGIA_BUILD_STUDIO)
|
||||
add_subdirectory(studio)
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user