|
| 1 | +# NOTE: Changing the value of AX_EXT_HINT after cmake build files have been created |
| 2 | +# will not update all other options that are using AX_EXT_HINT. You must delete the |
| 3 | +# {build_dir}/CMakeCache.txt file and then re-run the `axmol build ...` command in |
| 4 | +# order for the new setting to take effect. Alternatively, you can also delete the |
| 5 | +# entire build folder and then re-run the `axmol build` command. |
| 6 | +#set(AX_EXT_HINT ON CACHE BOOL "The default extensions hint" FORCE) |
| 7 | + |
| 8 | +# The following are by default set the same as the AX_EXT_HINT flag above - default: ON |
| 9 | +# Uncomment the lines below to set them individually |
| 10 | +#set(AX_ENABLE_EXT_LUA OFF CACHE BOOL "Build lua libraries" FORCE) |
| 11 | +#set(AX_ENABLE_EXT_GUI OFF CACHE BOOL "Build extension GUI" FORCE) |
| 12 | +#set(AX_ENABLE_EXT_ASSETMANAGER OFF CACHE BOOL "Build extension asset-manager" FORCE) |
| 13 | +#set(AX_ENABLE_EXT_SPINE OFF CACHE BOOL "Build extension spine" FORCE) |
| 14 | +#set(AX_ENABLE_EXT_DRAGONBONES OFF CACHE BOOL "Build extension DragonBones" FORCE) |
| 15 | +#set(AX_ENABLE_EXT_COCOSTUDIO OFF CACHE BOOL "Build extension cocostudio" FORCE) |
| 16 | +#set(AX_ENABLE_EXT_FAIRYGUI OFF CACHE BOOL "Build extension FairyGUI" FORCE) |
| 17 | +#set(AX_ENABLE_EXT_IMGUI OFF CACHE BOOL "Build extension ImGui" FORCE) |
| 18 | +#set(AX_ENABLE_EXT_JSONDEFAULT OFF CACHE BOOL "Build extension JSONDefault" FORCE) |
| 19 | + |
| 20 | +# 3D Support - - default: ON |
| 21 | +#set(AX_ENABLE_3D ON CACHE BOOL "Build 3D support" FORCE) |
| 22 | +# These depend on AX_EXT_HINT & AX_ENABLE_3D |
| 23 | +#set(AX_ENABLE_EXT_PARTICLE3D ON CACHE BOOL "Build extension Particle3D" FORCE) |
| 24 | +#set(AX_ENABLE_3D_PHYSICS ON CACHE BOOL "Build Physics3D support" FORCE) |
| 25 | +#set(AX_ENABLE_NAVMESH ON CACHE BOOL "Build NavMesh support" FORCE) |
| 26 | + |
| 27 | +# Physics Support - - default: ON |
| 28 | +#set(AX_ENABLE_PHYSICS ON CACHE BOOL "Build Physics support" FORCE) |
| 29 | +# These depend on AX_EXT_HINT & AX_ENABLE_PHYSICS |
| 30 | +#set(AX_ENABLE_EXT_PHYSICS_NODE ON CACHE BOOL "Build extension physics-nodes" FORCE) |
| 31 | + |
| 32 | +# These depend on AX_EXT_HINT & AX_ENABLE_EXT_IMGUI - default: ON |
| 33 | +#set(AX_ENABLE_EXT_INSPECTOR ON CACHE BOOL "Enable extension Inspector" FORCE) |
| 34 | +#set(AX_ENABLE_EXT_SDFGEN ON CACHE BOOL "Build extension SDFGen" FORCE) |
| 35 | + |
| 36 | +# The follow options are set individually - default: OFF |
| 37 | +#set(AX_ENABLE_EXT_LIVE2D OFF CACHE BOOL "Build extension Live2D" FORCE) |
| 38 | +#set(AX_ENABLE_EXT_EFFEKSEER OFF CACHE BOOL "Build extension Effekseer" FORCE) |
| 39 | + |
| 40 | +# Code modules that can be disabled - default: ON |
| 41 | +#set(AX_ENABLE_AUDIO ON CACHE BOOL "Build audio support" FORCE) |
| 42 | +#set(AX_ENABLE_WEBSOCKET ON CACHE BOOL "Build Websocket client based on yasio" FORCE) |
| 43 | +#set(AX_ENABLE_HTTP ON CACHE BOOL "Build HTTP client based on yasio" FORCE) |
| 44 | +#set(AX_ENABLE_OPUS ON CACHE BOOL "Build with opus support" FORCE) |
| 45 | + |
| 46 | +# WEBVIEW2 - default: ON for WIN32 and WINRT |
| 47 | +#set(AX_ENABLE_MSEDGE_WEBVIEW2 ON CACHE BOOL "Disable msedge webview2") |
0 commit comments