Add OLYMPIC_BUILD_STUDIO CMake var

This commit is contained in:
Gary Talent 2023-12-23 01:25:51 -06:00
parent 46d1313797
commit 2bad4ee416
2 changed files with 3 additions and 1 deletions

View File

@ -13,10 +13,12 @@ include(deps/buildcore/base.cmake)
set(NOSTALGIA_BUILD_PLAYER ON CACHE BOOL "Build Player")
set(NOSTALGIA_BUILD_STUDIO ON CACHE BOOL "Build Studio")
set(OLYMPIC_BUILD_STUDIO ON CACHE BOOL "Build Studio")
set(OX_ENABLE_TRACEHOOK OFF CACHE BOOL "Generate OxTraceHook shared library for uprobes")
if(BUILDCORE_TARGET STREQUAL "gba")
set(NOSTALGIA_BUILD_STUDIO OFF)
set(OLYMPIC_BUILD_STUDIO OFF)
set(TURBINE_BUILD_TYPE "GBA")
include(deps/gbabuildcore/base.cmake)
else()

View File

@ -1,6 +1,6 @@
add_subdirectory(applib)
add_subdirectory(keel)
add_subdirectory(turbine)
if(TURBINE_BUILD_TYPE STREQUAL "Native")
if(${OLYMPIC_BUILD_STUDIO})
add_subdirectory(studio)
endif()