Compare commits

..

2 Commits

Author SHA1 Message Date
9ebdca71af 필수적이지 않은 기능들을 비활성화 함 2026-02-22 00:32:11 +09:00
2049624841 프로젝트 추가 2026-02-22 00:31:30 +09:00
2 changed files with 48 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
# NOTE: Changing the value of AX_EXT_HINT after cmake build files have been created
# NOTE: Changing the value of AX_EXT_HINT after cmake build files have been created
# will not update all other options that are using AX_EXT_HINT. You must delete the
# {build_dir}/CMakeCache.txt file and then re-run the `axmol build ...` command in
# order for the new setting to take effect. Alternatively, you can also delete the
@@ -7,41 +7,41 @@
# The following are by default set the same as the AX_EXT_HINT flag above - default: ON
# Uncomment the lines below to set them individually
# set(AX_ENABLE_EXT_LUA OFF CACHE BOOL "Build lua libraries" FORCE)
# set(AX_ENABLE_EXT_GUI OFF CACHE BOOL "Build extension GUI" FORCE)
# set(AX_ENABLE_EXT_ASSETMANAGER OFF CACHE BOOL "Build extension asset-manager" FORCE)
# set(AX_ENABLE_EXT_SPINE OFF CACHE BOOL "Build extension spine" FORCE)
# set(AX_ENABLE_EXT_DRAGONBONES OFF CACHE BOOL "Build extension DragonBones" FORCE)
# set(AX_ENABLE_EXT_COCOSTUDIO OFF CACHE BOOL "Build extension cocostudio" FORCE)
# set(AX_ENABLE_EXT_FAIRYGUI OFF CACHE BOOL "Build extension FairyGUI" FORCE)
# set(AX_ENABLE_EXT_IMGUI OFF CACHE BOOL "Build extension ImGui" FORCE)
# set(AX_ENABLE_EXT_JSONDEFAULT OFF CACHE BOOL "Build extension JSONDefault" FORCE)
set(AX_ENABLE_EXT_LUA OFF CACHE BOOL "Build lua libraries" FORCE)
set(AX_ENABLE_EXT_GUI OFF CACHE BOOL "Build extension GUI" FORCE)
set(AX_ENABLE_EXT_ASSETMANAGER OFF CACHE BOOL "Build extension asset-manager" FORCE)
set(AX_ENABLE_EXT_SPINE OFF CACHE BOOL "Build extension spine" FORCE)
set(AX_ENABLE_EXT_DRAGONBONES OFF CACHE BOOL "Build extension DragonBones" FORCE)
set(AX_ENABLE_EXT_COCOSTUDIO OFF CACHE BOOL "Build extension cocostudio" FORCE)
set(AX_ENABLE_EXT_FAIRYGUI OFF CACHE BOOL "Build extension FairyGUI" FORCE)
set(AX_ENABLE_EXT_IMGUI ON CACHE BOOL "Build extension ImGui" FORCE)
set(AX_ENABLE_EXT_JSONDEFAULT OFF CACHE BOOL "Build extension JSONDefault" FORCE)
# 3D Support - - default: ON
# set(AX_ENABLE_3D ON CACHE BOOL "Build 3D support" FORCE)
# These depend on AX_EXT_HINT & AX_ENABLE_3D
# set(AX_ENABLE_EXT_PARTICLE3D ON CACHE BOOL "Build extension Particle3D" FORCE)
# set(AX_ENABLE_3D_PHYSICS ON CACHE BOOL "Build Physics3D support" FORCE)
# set(AX_ENABLE_NAVMESH ON CACHE BOOL "Build NavMesh support" FORCE)
set(AX_ENABLE_EXT_PARTICLE3D OFF CACHE BOOL "Build extension Particle3D" FORCE)
set(AX_ENABLE_3D_PHYSICS OFF CACHE BOOL "Build Physics3D support" FORCE)
set(AX_ENABLE_NAVMESH OFF CACHE BOOL "Build NavMesh support" FORCE)
# Physics Support - - default: ON
# set(AX_ENABLE_PHYSICS ON CACHE BOOL "Build Physics support" FORCE)
set(AX_ENABLE_PHYSICS OFF CACHE BOOL "Build Physics support" FORCE)
# These depend on AX_EXT_HINT & AX_ENABLE_PHYSICS
# set(AX_ENABLE_EXT_PHYSICS_NODE ON CACHE BOOL "Build extension physics-nodes" FORCE)
set(AX_ENABLE_EXT_PHYSICS_NODE OFF CACHE BOOL "Build extension physics-nodes" FORCE)
# These depend on AX_EXT_HINT & AX_ENABLE_EXT_IMGUI - default: ON
# set(AX_ENABLE_EXT_INSPECTOR ON CACHE BOOL "Enable extension Inspector" FORCE)
# set(AX_ENABLE_EXT_SDFGEN ON CACHE BOOL "Build extension SDFGen" FORCE)
set(AX_ENABLE_EXT_INSPECTOR OFF CACHE BOOL "Enable extension Inspector" FORCE)
set(AX_ENABLE_EXT_SDFGEN OFF CACHE BOOL "Build extension SDFGen" FORCE)
# The follow options are set individually - default: OFF
# set(AX_ENABLE_EXT_LIVE2D OFF CACHE BOOL "Build extension Live2D" FORCE)
# set(AX_ENABLE_EXT_EFFEKSEER OFF CACHE BOOL "Build extension Effekseer" FORCE)
set(AX_ENABLE_EXT_LIVE2D OFF CACHE BOOL "Build extension Live2D" FORCE)
set(AX_ENABLE_EXT_EFFEKSEER OFF CACHE BOOL "Build extension Effekseer" FORCE)
# Code modules that can be disabled - default: ON
# set(AX_ENABLE_AUDIO ON CACHE BOOL "Build audio support" FORCE)
# set(AX_ENABLE_WEBSOCKET ON CACHE BOOL "Build Websocket client based on yasio" FORCE)
# set(AX_ENABLE_HTTP ON CACHE BOOL "Build HTTP client based on yasio" FORCE)
# set(AX_ENABLE_OPUS ON CACHE BOOL "Build with opus support" FORCE)
set(AX_ENABLE_AUDIO ON CACHE BOOL "Build audio support" FORCE)
set(AX_ENABLE_WEBSOCKET OFF CACHE BOOL "Build Websocket client based on yasio" FORCE)
set(AX_ENABLE_HTTP OFF CACHE BOOL "Build HTTP client based on yasio" FORCE)
set(AX_ENABLE_OPUS OFF CACHE BOOL "Build with opus support" FORCE)
# WEBVIEW2 - default: ON for WIN32 and WINRT
# set(AX_ENABLE_MSEDGE_WEBVIEW2 ON CACHE BOOL "Disable msedge webview2")

25
run.bat Normal file
View File

@@ -0,0 +1,25 @@
@echo off
rem !!!Don't move this file
rem usage: run.bat <BUILD_CFG>
rem BUILD_CFG could be Debug,Release,MinSizeRel,RelWithDebInfo
set myDir=%~dp0
set cacheFile=%myDir%run.bat.txt
echo Entering run.bat directory: %myDir%
cd /d %myDir%
set APP_NAME=AxmolTestbed
set BUILD_DIR=build
set BUILD_CFG=%1
rem Determine which build config to run
if not defined BUILD_CFG if exist %cacheFile% set /p BUILD_CFG=< %cacheFile%
if not defined BUILD_CFG set /p BUILD_CFG=Please input Build config(Debug,Release,MinSizeRel,RelWithDebInfo):
if not defined BUILD_CFG set BUILD_CFG=Debug
rem Save run config to run.bat.txt
echo %BUILD_CFG%>%cacheFile%
start /D %myDir%Content %BUILD_DIR%/bin/%APP_NAME%/%BUILD_CFG%/%APP_NAME%.exe