Skip to content

Commit f129ed3

Browse files
committed
Merge branch 'release/2.x' into dev/v3
2 parents 71d61bb + 0a570ce commit f129ed3

File tree

18 files changed

+158
-103
lines changed

18 files changed

+158
-103
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ temp/
202202
**/SharedLoader.java
203203

204204
# ignore downloaded tools
205-
tools/external/
205+
tools/external
206206

207207
# ignore lua-tests res folder which is copy from cpp-tests
208208
tests/lua-tests/res/

1k/build.profiles

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ axslcc=1.13.2+
1010

1111
# The cmake, @gradle @axmol-cmdline
1212
# as latest as possible
13-
cmake=3.30.0~4.1.0+
13+
cmake=3.30.0~4.1.1+
1414

1515
# The ninja
1616
ninja=1.10.0~1.12.1+

3rdparty/CMakeLists.txt

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -189,18 +189,7 @@ if(AX_WITH_JPEG AND NOT WINRT AND NOT EMSCRIPTEN)
189189
ax_add_3rd(jpeg-turbo)
190190
endif()
191191

192-
add_subdirectory(openssl)
193-
194-
if(ANDROID OR LINUX)
195-
target_link_libraries(OpenSSL::SSL INTERFACE OpenSSL::Crypto)
196-
target_link_libraries(3rdparty INTERFACE OpenSSL::SSL)
197-
else()
198-
target_link_libraries(3rdparty
199-
INTERFACE OpenSSL::Crypto
200-
INTERFACE OpenSSL::SSL)
201-
endif()
202-
203-
target_compile_definitions(3rdparty INTERFACE OPENSSL_SUPPRESS_DEPRECATED=1)
192+
ax_add_3rd(openssl TARGETS OpenSSL::SSL)
204193

205194
if(AX_WITH_WEBP)
206195
ax_add_3rd(webp)
@@ -244,10 +233,6 @@ endif()
244233

245234
if(AX_WITH_CURL AND NOT EMSCRIPTEN)
246235
ax_add_3rd(curl)
247-
248-
if(ANDROID OR LINUX)
249-
target_link_libraries(curl INTERFACE OpenSSL::SSL)
250-
endif()
251236
endif()
252237

253238
if(AX_ENABLE_AUDIO)

3rdparty/curl/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ else()
2929
IMPORTED_LOCATION "${curl_LIB_DIR}/lib${lib_name}.a"
3030
)
3131
endif()
32+
33+
if(ANDROID OR LINUX)
34+
target_link_libraries(curl INTERFACE OpenSSL::SSL)
35+
endif()

3rdparty/openssl/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,7 @@ set_openssl_sub_target(${target_name})
5555
# -----sub target 2: crypto-----
5656
set(target_name OpenSSL::Crypto crypto)
5757
set_openssl_sub_target(${target_name})
58+
59+
# Ensure OpenSSL::SSL automatically propagates its dependency on OpenSSL::Crypto
60+
target_link_libraries(OpenSSL::SSL INTERFACE OpenSSL::Crypto)
61+
target_compile_definitions(OpenSSL::SSL INTERFACE OPENSSL_SUPPRESS_DEPRECATED=1)

3rdparty/yasio/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
set(lib_name yasio)
32
set(target_name ${lib_name})
43

@@ -40,3 +39,7 @@ if(kcp_SOURCE_DIR)
4039
target_compile_definitions(${target_name} PUBLIC YASIO_ENABLE_KCP=1)
4140
target_include_directories(${target_name} PUBLIC ${kcp_SOURCE_DIR})
4241
endif()
42+
43+
if(ANDROID OR LINUX)
44+
target_link_libraries(yasio INTERFACE OpenSSL::SSL)
45+
endif()

CHANGELOG.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
1-
# axmol-2.8.0 ?? 2025
1+
# axmol-2.8.0 Sep.1 2025
22

33
## Bug fixes
44

5+
- Fix #2669: Windows UWP not running on Windows 11 due to DriverGL initialization failure by @halx99
6+
- Fix #2655: Multi-touch not work on android scene contains imgui layer by @halx99
7+
- Fix #2674: OpenSSL not linkage for final app on Linux by @halx99 in https://github.com/axmolengine/axmol/pull/2675
58
- Fix incorrect FontAtlas when switching label rendering mode from normal to SDF by @halx99 in https://github.com/axmolengine/axmol/pull/2629
69
- Fix wasm Device::getTextureDataForText will report exception when process whitespace text by @halx99
710
- Fix linux label color incorrect when LabelType is STRING_TEXTURE by @halx99
811
- Fix incorrect fmt::format_to use case by @halx99 in https://github.com/axmolengine/axmol/pull/2612
912
- Fix llvm ver trim in genbindings.ps1 by @halx99
1013
- Fix Label SDF rendering issues with font resizing and other bugs by @halx99 in https://github.com/axmolengine/axmol/pull/2625
14+
- Fix compile error when project contains swift code by @halx99 in https://github.com/axmolengine/axmol/pull/2632
15+
- Fix wasm Downloader open file with wrong permision (#2666) by @AlexandreK38 in https://github.com/axmolengine/axmol/pull/2666
16+
- Fix failure in CMake 4.1 when targeting Windows: assembler not found by @halx99
1117

1218
## Improvements
1319

1420
- Improve apple ios platform render view creation by @halx99 in https://github.com/axmolengine/axmol/pull/2600
1521
- Rename GLView to RenderView by @halx99 in https://github.com/axmolengine/axmol/pull/2602
1622
- Mention emsdk downgrading notice in version 2.6.0 release notes by @halx99
17-
- Improve wasm dev setup description by @halx99
23+
- Improve wasm dev setup notice by @halx99
1824
- Rename `GLContextAttrs` to `GfxContextAttrs` by @halx99
1925
- Update pull_request_template.md by @aismann in https://github.com/axmolengine/axmol/pull/2609
2026
- Improve utf8 chars counting, remove strlen call by @halx99 in https://github.com/axmolengine/axmol/pull/2614
@@ -24,12 +30,17 @@
2430
- Use pragma once for more header files by @halx99 in https://github.com/axmolengine/axmol/pull/2616
2531
- Add support set window size limits by @NgVThangBz in https://github.com/axmolengine/axmol/pull/2618
2632
- Renamed cpp-tests "Node: Label - New API" to "Node: Label" by @aismann in https://github.com/axmolengine/axmol/pull/2627
33+
- Update ImGui mult-viewports hint message by @halx99
34+
- Improve tests (Naming of menu entries on cpp-/lua- tests) by @aismann in https://github.com/axmolengine/axmol/pull/2640
35+
- Move SIMD availability detection into its own CMake file by @j-jorge in https://github.com/axmolengine/axmol/pull/2642
36+
- Setting CMAKE_MSVC_DEBUG_INFORMATION_FORMAT to Embedded to resolve pdb too large problem by @halx99
37+
- Improve NuGet package management by @halx99 in https://github.com/axmolengine/axmol/pull/2671
2738

2839
## SDK & Tools updates
2940

3041
- agp: 8.11.0 => 8.11.1
3142
- gradle: 8.14.3 => 9.0.0
32-
- cmake: 4.0.3 => 4.1.0
43+
- cmake: 4.0.3 => 4.1.1
3344

3445
## 3rdparty updates
3546

CMakeOptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
- AX_WITH_XXX: usually user don't need care it
4040
- AX_RENDER_API: specify render api: gl, mtl, d3d, default: `auto`
4141
- AX_GLES_PROFILE: specify GLES profile version, only works when selected render api is `gl`, default: `300`, valid value `300`, `310`
42-
- AX_CORE_PROFILE: whether strip all deprecated features, default `FALSE`, it's useful to pre-upgrade your game project to adapte future axmol versions
42+
- AX_CORE_PROFILE: whether strip all deprecated features, default `FALSE`, Setting this to `TRUE` before upgrading your game project helps ensure compatibility with future Axmol versions.
4343
- AX_ISA_LEVEL: specifiy SIMD Instructions Acceleration Level: 0~4, 0: disabled, 1: SSE2, 2: SSE4.1/NEON, 3: SSE4.2, 4: AVX2, default: 2
4444
- AX_WASM_THREADS: specify wasm thread count, valid value: number: `>=0` , string: must be: `auto` or `navigator.hardwareConcurrency`(default),
4545
- number: explicit set thread count, `0` means disable wasm thread support

INFRA.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
11
# The axmol sdk & tools references
22

3-
## cppwinrt
3+
## Microsoft.Windows.CppWinRT
44

5-
- [![Upstream](https://img.shields.io/github/v/release/microsoft/cppwinrt?label=Upstream)](https://github.com/microsoft/cppwinrt)
5+
- [![nuget](https://img.shields.io/nuget/v/Microsoft.Windows.CppWinRT?label=Upstream)](https://www.nuget.org/packages/Microsoft.Windows.CppWinRT)
66
- Version: 2.0.250303.1
77
- License: MIT
88
- Platform: WinRT/WinUWP
99
- Manged by: `cmake/Modules/AXConfigDefine.cmake`
1010

11+
## Microsoft.Web.WebView2
12+
13+
- [![nuget](https://img.shields.io/nuget/v/Microsoft.Web.WebView2?label=Upstream)](https://www.nuget.org/packages/Microsoft.Web.WebView2)
14+
- Version: 1.0.3045.78
15+
- License: https://www.nuget.org/packages/Microsoft.Web.WebView2/1.0.3405.78/License
16+
- Platform: Win32
17+
- Managed by: `cmake/Modules/AXConfigDefine.cmake`
18+
1119
## gradle
1220

13-
- [![Upstream](https://img.shields.io/github/v/release/gradle/gradle?label=Upstream)](https://github.com/gradle/gradle)
21+
- [![github](https://img.shields.io/github/v/release/gradle/gradle?label=Upstream)](https://github.com/gradle/gradle)
1422
- Version: 9.0.0
1523
- License: Apache-2.0
1624
- Platform: Android

axmol/CMakeLists.txt

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
# include_guard (GLOBAL)
3333

3434
# The version number
35-
set(_AX_VERSION 2.7)
35+
set(_AX_VERSION 2.8)
3636

3737
if(NOT DEFINED _AX_CORE_LIB)
3838
set(_AX_CORE_LIB axmol CACHE INTERNAL "The axmol engine lib name")
@@ -430,27 +430,26 @@ if(WINDOWS)
430430
endif()
431431

432432
if(WINDOWS_STORE)
433-
file(TO_NATIVE_PATH ${CMAKE_BINARY_DIR} AX_TOP_SOLUTION_DIR)
434433
configure_file(${_AX_ROOT}/cmake/CppWinRT.props.in ${CMAKE_BINARY_DIR}/CppWinRT.props @ONLY)
435434

436435
# intsall cppwinrt package for xaml apps
437436
execute_process(COMMAND "${NUGET_EXE}"
438-
install "Microsoft.Windows.CppWinRT" -Version ${AX_CPPWINRT_VERSION} -ExcludeVersion -OutputDirectory "${CMAKE_BINARY_DIR}/packages")
437+
install "Microsoft.Windows.CppWinRT" -Version ${AX_CPPWINRT_VERSION} -ExcludeVersion -OutputDirectory "${_NUGET_PACKAGE_DIR}")
439438
set_target_properties(${_AX_CORE_LIB} PROPERTIES
440-
VS_PROJECT_IMPORT ${CMAKE_BINARY_DIR}/packages/Microsoft.Windows.CppWinRT/build/native/Microsoft.Windows.CppWinRT.props
439+
VS_PROJECT_IMPORT ${_NUGET_PACKAGE_DIR}/Microsoft.Windows.CppWinRT/build/native/Microsoft.Windows.CppWinRT.props
441440
)
442-
target_link_libraries(${_AX_CORE_LIB} ${CMAKE_BINARY_DIR}/packages/Microsoft.Windows.CppWinRT/build/native/Microsoft.Windows.CppWinRT.targets)
441+
target_link_libraries(${_AX_CORE_LIB} ${_NUGET_PACKAGE_DIR}/Microsoft.Windows.CppWinRT/build/native/Microsoft.Windows.CppWinRT.targets)
443442
endif()
444443

445444
if(AX_ENABLE_MSEDGE_WEBVIEW2)
446445
execute_process(COMMAND "${NUGET_EXE}"
447-
install "Microsoft.Web.WebView2" -Version 1.0.992.28 -ExcludeVersion -OutputDirectory "${CMAKE_BINARY_DIR}/packages")
446+
install "Microsoft.Web.WebView2" -Version ${AX_MSEDGE_WEBVIEW2_VERSION} -ExcludeVersion -OutputDirectory "${_NUGET_PACKAGE_DIR}")
448447

449448
if(CMAKE_GENERATOR MATCHES "Ninja")
450-
target_link_libraries(${_AX_CORE_LIB} ${CMAKE_BINARY_DIR}/packages/Microsoft.Web.WebView2/build/native/${ARCH_ALIAS}/WebView2Loader.dll.lib)
451-
target_include_directories(${_AX_CORE_LIB} PUBLIC ${CMAKE_BINARY_DIR}/packages/Microsoft.Web.WebView2/build/native/include)
449+
target_link_libraries(${_AX_CORE_LIB} ${_NUGET_PACKAGE_DIR}/Microsoft.Web.WebView2/build/native/${ARCH_ALIAS}/WebView2Loader.dll.lib)
450+
target_include_directories(${_AX_CORE_LIB} PUBLIC ${_NUGET_PACKAGE_DIR}/Microsoft.Web.WebView2/build/native/include)
452451
else()
453-
target_link_libraries(${_AX_CORE_LIB} ${CMAKE_BINARY_DIR}/packages/Microsoft.Web.WebView2/build/native/Microsoft.Web.WebView2.targets)
452+
target_link_libraries(${_AX_CORE_LIB} ${_NUGET_PACKAGE_DIR}/Microsoft.Web.WebView2/build/native/Microsoft.Web.WebView2.targets)
454453
endif()
455454
endif()
456455
endif()

0 commit comments

Comments
 (0)