[nostalgia,turbine] Change NOSTALGIA_BUILD_TYPE to TURBINE_BUILD_TYPE
This commit is contained in:
parent
65268408cd
commit
7d0dcae00e
@ -17,10 +17,10 @@ set(OX_ENABLE_TRACEHOOK OFF CACHE BOOL "Generate OxTraceHook shared library for
|
||||
|
||||
if(BUILDCORE_TARGET STREQUAL "gba")
|
||||
set(NOSTALGIA_BUILD_STUDIO OFF)
|
||||
set(NOSTALGIA_BUILD_TYPE "GBA")
|
||||
set(TURBINE_BUILD_TYPE "GBA")
|
||||
include(deps/gbabuildcore/base.cmake)
|
||||
else()
|
||||
set(NOSTALGIA_BUILD_TYPE "Native")
|
||||
set(TURBINE_BUILD_TYPE "Native")
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
endif()
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
include_directories(".")
|
||||
|
||||
if(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
|
||||
if(TURBINE_BUILD_TYPE STREQUAL "Native")
|
||||
add_subdirectory(glutils)
|
||||
add_subdirectory(studio)
|
||||
endif()
|
||||
|
@ -9,7 +9,7 @@ if(NOSTALGIA_BUILD_PLAYER)
|
||||
add_subdirectory(player)
|
||||
endif()
|
||||
|
||||
if(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
|
||||
if(TURBINE_BUILD_TYPE STREQUAL "Native")
|
||||
add_subdirectory(tools)
|
||||
if(NOSTALGIA_BUILD_STUDIO)
|
||||
add_subdirectory(studio)
|
||||
|
@ -18,7 +18,7 @@ install(
|
||||
include/nostalgia/appmodules
|
||||
)
|
||||
|
||||
if(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
|
||||
if(TURBINE_BUILD_TYPE STREQUAL "Native")
|
||||
add_library(
|
||||
NostalgiaStudioModules
|
||||
studiomodules.cpp
|
||||
@ -32,4 +32,4 @@ if(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
|
||||
if(NOT MSVC)
|
||||
target_compile_options(NostalgiaStudioModules PRIVATE -Wsign-conversion)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
@ -6,7 +6,7 @@ add_library(
|
||||
typeconv.cpp
|
||||
)
|
||||
|
||||
if(NOSTALGIA_BUILD_TYPE STREQUAL "GBA")
|
||||
if(TURBINE_BUILD_TYPE STREQUAL "GBA")
|
||||
add_subdirectory(gba)
|
||||
else()
|
||||
add_subdirectory(opengl)
|
||||
|
@ -3,7 +3,7 @@ add_library(
|
||||
event.cpp
|
||||
)
|
||||
|
||||
if(NOSTALGIA_BUILD_TYPE STREQUAL "GBA")
|
||||
if(TURBINE_BUILD_TYPE STREQUAL "GBA")
|
||||
add_subdirectory(gba)
|
||||
else()
|
||||
add_subdirectory(glfw)
|
||||
|
Loading…
Reference in New Issue
Block a user