[nostalgia,turbine] Change NOSTALGIA_BUILD_TYPE to TURBINE_BUILD_TYPE

This commit is contained in:
Gary Talent 2023-06-03 20:51:18 -05:00
parent 65268408cd
commit 7d0dcae00e
6 changed files with 8 additions and 8 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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