Commit Graph

273 Commits

Author SHA1 Message Date
Deal adbffdf4a2
Fix #1704, control android cmake options by engine axutils.gradle (#1705) 2024-02-20 00:58:47 +08:00
RH b4877b40b6
Add missing return statement (#1657) 2024-02-06 19:08:12 +08:00
halx99 c06bed508b Rename cocos_android_app_init to axmol_android_app_init and othre code cleanup 2024-01-29 08:51:35 +08:00
Deal 9ec7c54c57
release 2.1.0 finally (#1621) [release 2.1.0]
* Delete deprecated prop `buildconfig` from gradle.properties

* Delete unnecessary props since it's value same with defaults

* Don't need config debug keystore, will auto signed by default debug.keystore

* Update funding [skip ci]

* Fix axmol cmdline tool command 'new'

* Refix c99 for winsdk < 10.0.22000.0

* Fix powershell 3 condition statement: 'xxx = if(c) { v1 } else { v2 }' will lost switch parameter semantic

* Improve code style

* Improve code style

* Fixup
2024-01-20 16:16:53 +08:00
arman hossiny 4c3c9bd2ae
Enable default aidl file to project especially for In-app purchases (#1620) 2024-01-19 19:08:13 +08:00
halx99 fe4ef94b4e Unify cmake minimal requirement 2024-01-18 21:12:45 +08:00
halx99 bef10d0dea Allow generated debug signed apk, and rename keystore props:
- RELEASE_STORE_FILE ==> KEY_STORE_FILE
- KEY_STORE_PASSWORD ==> KEY_STORE_PASSWORD
- RELEASE_KEY_ALIAS ==> KEY_ALIAS
- RELEASE_KEY_PASSWORD ==> KEY_PASSWORD
2024-01-17 03:50:13 +08:00
halx99 32ef79a9f5 Avoid define multi depends of gradle task copyContentToAssets
refer: dd7c9deaf9
2024-01-17 03:45:13 +08:00
halx99 d3e680bc52 Update Android devtools
- AGP 8.2.1
- Android Studio 2023.1.1+
- Android SDK Tools 34.0.0
- Android SDK Platform 34
- Gradle 8.5
2024-01-17 02:59:40 +08:00
halx99 dd7c9deaf9 Improve android build gradle script
- Merge tasks copyDebugContentToAssets, copyReleaseContentToAssets to copyContentAssets
- Simplify tasks dependent definations
- Fix tests content not pack into apk
2024-01-16 00:47:19 +08:00
Lich 4d1dff9f63
Include hpp and c files in CMakeLists.txt (#1583) 2024-01-05 19:29:29 +08:00
RH dad845abe9
Remove comments for non-existent parameters (#1554)
Add override specifier on destructor.
2023-12-29 19:19:41 +08:00
Deal 159f49d832 Fix #1498 (#1500) 2023-12-12 00:44:59 +08:00
aismann 62e6542f28
Improve the default templates (at least the cpp template) (#1494) 2023-12-11 12:30:29 +08:00
Paulo Coutinho 7f309b7570
fix plist data and version (#1488) 2023-12-10 15:45:53 +08:00
halx99 affcf05b69 Prepare 2.1.0 release
* Update copyright notice
* Remove prebuilt libs from SCM
* Remove optional thirdparty sources/repo from SCM
* Remove tests resources  folder 'Content' from SCM
2023-12-08 01:04:43 +08:00
Paulo Coutinho 0aab228acc Rename glview to correct representative name (#1467) 2023-12-01 09:04:51 +08:00
CHP 13ec866867 Update android API to 34 (#1469)
* Update gradle.properties

* Update android api to from 33 to 34
2023-12-01 08:08:37 +08:00
Paulo Coutinho 516e4fd10c new tvos splash and splash organization, removed unused code, fix tvos plist (#1459) 2023-11-28 18:45:54 +08:00
Paulo Coutinho 2c5d22c193 update android build.gradle (#1457) 2023-11-28 11:15:44 +08:00
Paulo Coutinho 97b0c318b6 new portrait splash, cmake bundle id replace, support for ipad, better info.plist, plist orientation fix (#1456) 2023-11-28 10:24:33 +08:00
halx99 ec507ec874 Update mac icons 2023-11-27 20:18:10 +08:00
halx99 8d1f801b54 Fix typo [skip ci][skip appveyor]
refer #1453
2023-11-26 23:56:38 +08:00
RH a503004418 [Android] Restrict temporary and generated files to build folder (#1368)
* [Android] Restrict temporary and generated files to build folder

* Fix temporary axslc folder path
2023-10-02 09:47:11 +08:00
halx99 678ed7ce51 Don't disable multi-touch in templates [skip ci][skip appveyor] 2023-09-27 20:12:07 +08:00
Deal b892461a2b UWP: Migrating from C++/CX to C++/WinRT (#1355) 2023-09-26 00:11:33 +08:00
Deal 4f4f07ddc4 Add enable global TTF SDF rendering support (#1333) 2023-09-18 07:18:57 +08:00
halx99 f2470b99aa Android: Update AGP to 8.1.1
- jdk-17.x+ required
- gradle-bin 8.3
- Build-Tools 33.0.1
-  Delete package name from AndroidManifest.xml
- Add namespace "org.axmol.xxx" in 'app/build.gradle'
- Rename compileSdkVersion ==> compileSdk in 'app/build.gradle'
- Use rootProject.layout.buildDirectory instead rootProject.buildDir
- Android Studio 2022.3.1+
2023-09-12 01:13:06 +08:00
halx99 766d79a73f Revert cmake module folder to `cmake/Modules` 2023-09-09 00:36:49 +08:00
halx99 946edb3a70 No need to copy build.ps1 to new project
Because the console next commands is more easy to use, for example:

axmol build -p win32
axmol build -p ios
2023-09-07 22:39:15 +08:00
halx99 45cb0d82dc Add cmake option 'AX_WASM_SHELL_FILE'
Specify the wasm shell file, by default use
`${_AX_ROOT}/core/platform/wasm/shell_minimal.html`
2023-09-07 21:09:36 +08:00
halx99 d7a72ea587 WASM: Fix .html file not generated 2023-09-05 22:40:25 +08:00
halx99 5a528b46e5 WASM: use shorten target platform name 'wasm' instead 'emscripten'
For examples:
- win32 app build by msvc/clang and runs on windows
- wasm app build by emscripten/emcc and runs on web browsers
2023-09-05 22:17:18 +08:00
halx99 0a56810af5 Improve wasm support
- Enable thread support
- Improve emcc flags
- Enable webp support
- axmol run now support wasm by emrun
- Rebuild openssl by pthread support
- Extension: effekseer support
2023-09-05 21:10:25 +08:00
halx99 80f1e0952f Update wasm persist path 2023-09-03 18:25:39 +08:00
halx99 c67cd64ffc Use axmol embeded freetype for wasm 2023-09-03 13:12:59 +08:00
halx99 c66ac9dedc Merge: 41714a04fd 2631c8405b
Merge branch '1.x' into dev
2023-09-02 19:56:50 +08:00
halx99 b21fcb0272 Fix gendocs.ps1 2023-09-02 19:56:33 +08:00
halx99 8f8418c15d Merge: c8bfa8cdf1 062b510c38
Merge 1.x WASM support into 'dev'
2023-09-02 19:47:18 +08:00
nowasm 03f007fdbe Add webgl aka wasm build support (#1315) 2023-09-01 16:31:14 +08:00
halx99 4c0c328b80 Merge: 6d82d3a76c 5e3cba78a6
Merge branch '1.x' into dev
2023-09-01 16:29:02 +08:00
halx99 396313de47 consle-next: Looking both powershell 7.x and 5.x 2023-09-01 16:28:34 +08:00
iAndyHD3 ed39cf3996 Update AXBuildHelpers.cmake (#1316)
fix find_program call
2023-09-01 16:09:58 +08:00
halx99 b1ddb2fcce Sync #1316 2023-09-01 16:09:27 +08:00
halx99 a000ccbab5 Update site build 2023-09-01 14:49:03 +08:00
halx99 ada7deb002 Sync docs [skip ci] 2023-09-01 14:48:42 +08:00
halx99 310c5868ec Merge: 8f8814532d bdbbc55909
Merge branch '1.x' into dev
2023-09-01 13:36:38 +08:00
halx99 e5d984a4f8 Auto deploy wasm demo to gh pages 2023-09-01 13:36:23 +08:00
halx99 5fe4e6d61f Merge: 89955d901a 279ea746cc
Merge branch '1.x' into dev
2023-09-01 10:37:57 +08:00
halx99 e565645443 Auto get release list for doc build 2023-09-01 10:31:34 +08:00