Compare commits

..

2 Commits

Author SHA1 Message Date
gary 10830fb412 Merge commit 'cc499028fb6b9a2138538c771d4de8fbf41a7835' as 'deps/ox'
Build / build (push) Failing after 5s
2026-05-06 01:15:12 -05:00
gary cc499028fb Squashed 'deps/ox/' content from commit d4807cd2
git-subtree-dir: deps/ox
git-subtree-split: d4807cd2a0cd64843824959c24479e1ba54459f0
2026-05-06 01:15:12 -05:00
518 changed files with 470 additions and 854 deletions
-1
View File
@@ -1,2 +1 @@
type summary add --summary-string "${var.m_buff.m_items}" ox::String type summary add --summary-string "${var.m_buff.m_items}" ox::String
type summary add --summary-string "${var.m_value.m_buff.m_items}" ox::StringParam
+7 -4
View File
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.25) cmake_minimum_required(VERSION 3.19)
set(CMAKE_POLICY_DEFAULT_CMP0110 NEW) # requires CMake 3.19 set(CMAKE_POLICY_DEFAULT_CMP0110 NEW) # requires CMake 3.19
if(BUILDCORE_TARGET STREQUAL "gba") if(BUILDCORE_TARGET STREQUAL "gba")
@@ -9,7 +9,7 @@ else()
project(nostalgia C CXX) project(nostalgia C CXX)
endif() endif()
include(deps/oxlib/deps/buildcore/base.cmake) include(deps/buildcore/base.cmake)
set(OX_ENABLE_TRACEHOOK OFF CACHE BOOL "Generate OxTraceHook shared library for uprobes") set(OX_ENABLE_TRACEHOOK OFF CACHE BOOL "Generate OxTraceHook shared library for uprobes")
@@ -35,7 +35,10 @@ else()
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
endif() endif()
add_subdirectory(deps/oxlib) add_subdirectory(deps/ox)
include_directories(
deps/ox/src
)
add_subdirectory(deps/teagba) add_subdirectory(deps/teagba)
if(NOT BUILDCORE_TARGET STREQUAL "gba") if(NOT BUILDCORE_TARGET STREQUAL "gba")
@@ -52,7 +55,7 @@ if(NOT BUILDCORE_TARGET STREQUAL "gba")
set(GLFW_BUILD_TESTS OFF) set(GLFW_BUILD_TESTS OFF)
set(GLFW_BUILD_DOCS OFF) set(GLFW_BUILD_DOCS OFF)
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
set(GLFW_BUILD_WAYLAND ON) set(GLFW_BUILD_WAYLAND OFF)
endif() endif()
add_subdirectory(deps/glfw) add_subdirectory(deps/glfw)
add_subdirectory(deps/glutils) add_subdirectory(deps/glutils)
+10 -5
View File
@@ -1,7 +1,7 @@
BC_VAR_PROJECT_NAME=nostalgia BC_VAR_PROJECT_NAME=nostalgia
BC_VAR_PROJECT_NAME_CAP=Nostalgia BC_VAR_PROJECT_NAME_CAP=Nostalgia
BC_VAR_DEVENV_ROOT=util BC_VAR_DEVENV_ROOT=util
BUILDCORE_PATH=deps/oxlib/deps/buildcore BUILDCORE_PATH=deps/ox/deps/buildcore
include ${BUILDCORE_PATH}/base.mk include ${BUILDCORE_PATH}/base.mk
ifeq ($(BC_VAR_OS),darwin) ifeq ($(BC_VAR_OS),darwin)
@@ -20,15 +20,15 @@ git-setup-ox-remote:
.PHONY: git-pull-ox .PHONY: git-pull-ox
git-pull-ox: git-pull-ox:
git fetch ox-master master git fetch ox-master master
git subtree pull --prefix deps/oxlib ox-master master --squash git subtree pull --prefix deps/ox ox-master master --squash
.PHONY: git-push-ox .PHONY: git-push-ox
git-push-ox: git-push-ox:
git subtree push --prefix=deps/oxlib ox-master master git subtree push --prefix=deps/ox ox-master master
.PHONY: pkg-gba .PHONY: pkg-gba
pkg-gba: build-studio build-gba-player pkg-gba: build-pack build-gba-player
${BC_CMD_ENVRUN} ${BC_PY3} ./util/scripts/pkg-gba.py ${PROJECT_STUDIO} sample_project ${BC_VAR_PROJECT_NAME_CAP} ${BC_CMD_ENVRUN} ${BC_PY3} ./util/scripts/pkg-gba.py sample_project ${BC_VAR_PROJECT_NAME_CAP}
.PHONY: pkg-mac .PHONY: pkg-mac
pkg-mac: install pkg-mac: install
@@ -47,6 +47,11 @@ build-gba-player:
build-player: build-player:
${BC_CMD_CMAKE_BUILD} ${BC_VAR_BUILD_PATH} ${BC_VAR_PROJECT_NAME_CAP} ${BC_CMD_CMAKE_BUILD} ${BC_VAR_BUILD_PATH} ${BC_VAR_PROJECT_NAME_CAP}
.PHONY: build-pack
build-pack:
cmake --build ./build/${BC_VAR_CURRENT_BUILD} --target ${BC_VAR_PROJECT_NAME}-pack
.PHONY: run .PHONY: run
run: build-player run: build-player
${PROJECT_PLAYER} sample_project ${PROJECT_PLAYER} sample_project
@@ -3,7 +3,6 @@ build/gba
build/*-asan build/*-asan
build/*-debug build/*-debug
build/*-release build/*-release
dist
.current_build .current_build
tags tags
compile_commands.json compile_commands.json
View File
+8 -1
View File
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.25) cmake_minimum_required(VERSION 3.19)
set(CMAKE_POLICY_DEFAULT_CMP0110 NEW) # requires CMake 3.19 set(CMAKE_POLICY_DEFAULT_CMP0110 NEW) # requires CMake 3.19
project(Ox CXX) project(Ox CXX)
@@ -78,6 +78,13 @@ include_directories(src)
install(FILES OxConfig.cmake DESTINATION lib/cmake/ox) install(FILES OxConfig.cmake DESTINATION lib/cmake/ox)
install(
DIRECTORY
include/ox
DESTINATION
include
)
if(OX_USE_STDLIB) if(OX_USE_STDLIB)
set(JSONCPP_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/deps/jsoncpp/include") set(JSONCPP_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/deps/jsoncpp/include")
add_subdirectory(deps/jsoncpp) add_subdirectory(deps/jsoncpp)
View File
View File

Some files were not shown because too many files have changed in this diff Show More