Commit Graph

225 Commits

Author SHA1 Message Date
smilediver 2493a6d17b
Fix crash on iOS (#1799) 2024-04-09 01:40:41 +08:00
halx99 68a5c250cd Fix build android with axmol cmdline arch not working 2024-04-09 01:37:04 +08:00
halx99 88eb698ba2 Make command `axmol build` alias `axmol` 2024-04-07 23:34:30 +08:00
halx99 bc1bab5a98 Update AGP 8.2.2
- gradle: 8.5 ==> 8.7
- gradle-wapper.jar: NA ==> 8.7
- cmdlinetools: 10406996 ==> 11076708
2024-04-07 02:08:00 +08:00
halx99 e62a0aa6b7 Improve 1k/install-pwsh.sh [skip ci]
Add 1k/install-cmake.sh
2024-04-06 15:48:16 +08:00
Deal 8c5243fd20
Fix #1790 2024-04-06 08:35:14 +08:00
halx99 a6867f3c28 Improve feature dependencies control 2024-04-05 11:07:47 +08:00
halx99 620c5027fd Update build system 2024-04-03 20:25:25 +08:00
halx99 372ebf1355 Update glad to v2.0.6 2024-04-03 03:58:21 +08:00
halx99 e8b070c84c Remove unnecessary cmake option AX_VS_DEPLOYMENT_TARGET since we require cmake >= 3.28 2024-04-03 03:57:59 +08:00
Deal 9e944935b0
Add apple xcframework support (#1786)
* Add apple xcframework support

* Fix ci
2024-04-03 01:48:30 +08:00
halx99 0c7181c77c Improve build system 2024-04-02 22:31:34 +08:00
halx99 d645aee0d5 Improve 1k/build.ps1 2024-04-01 22:37:05 +08:00
halx99 284f088074 Move rpath control to 1k/platforms.cmake 2024-03-30 01:27:13 +08:00
halx99 f7c19cdbef Fix #1768 2024-03-30 01:09:52 +08:00
halx99 9a10407d7d Improve build system 2024-03-30 01:08:55 +08:00
halx99 c9b511a39d Set cmake minmal require to 3.29.0+ for supress xcode 15 duplicated linking warnings 2024-03-30 01:00:31 +08:00
halx99 d514f88cb1 Fix mac & linux rpath settings 2024-03-27 22:57:32 +08:00
halx99 6e6227196c Prepare release 2.1.3 2024-03-26 00:08:53 +08:00
halx99 d1cf78baa6 Improve 1k/fetch.cmake 2024-03-25 00:09:08 +08:00
halx99 968ab10a74 Improve 1k/fetch.ps1 2024-03-24 12:55:10 +08:00
halx99 dc3be5aad3 Improve build system error prompt 2024-03-24 05:44:05 +08:00
halx99 494312a60e Update 1k/fetch.ps1 [skip ci][skip appveyor] 2024-03-24 05:26:44 +08:00
halx99 57335362e1 Improve build system 2024-03-24 05:11:41 +08:00
halx99 966527f53b Update emsdk to 3.1.56 2024-03-23 02:06:40 +08:00
halx99 f6061ee1ba Improve build system again 2024-03-23 00:51:46 +08:00
Deal 25b5d14546
Fix ci 2024-03-22 23:57:08 +08:00
Deal 034aea1bae
Fix ci 2024-03-22 23:48:42 +08:00
halx99 0cab7e3f1f Improve build system 2024-03-22 23:37:16 +08:00
halx99 60df1de329 Update emsdk to 3.1.55[skip ci] 2024-03-08 01:17:15 +08:00
halx99 a7df439849 Don't use force checkout, will lose sentry file 2024-02-17 00:05:53 +08:00
Deal b9ad6579a2
Add -j to specify build cpu count support (#1688) 2024-02-16 08:57:13 +08:00
halx99 a746bfcd8f Update emsdk to 3.1.53 [skip ci] 2024-02-14 12:21:10 +08:00
halx99 fb0ff3f02c Fix c-ares link issue 2024-02-06 00:32:19 +08:00
halx99 df165fec4b Prepare release v2.1.1 2024-02-02 00:00:06 +08:00
halx99 622dc880d2 Add mirror support for some devtools 2024-02-01 22:38:30 +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
halx99 8ee68b58c9 Bump 2.1.0 2024-01-19 20:39:08 +08:00
halx99 fc6fff75bc Prepare release v2.1.0 2024-01-19 00:12:19 +08:00
halx99 3b4bf5c69b Improve console scripts
- setup.ps1: auto set windows `powershell.exe` execution policy to `Bypass`
- Improve axmol console command
- Improve ninja setup
2024-01-19 00:05:18 +08:00
halx99 066eb4b501 Improve ios.cmake 2024-01-18 00:02:50 +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 7a14ef8c19 Bump 2.1.0 release 2024-01-12 02:49:07 +08:00
halx99 3bff352032 Update 1k/build.ps1 2024-01-12 01:25:37 +08:00
halx99 3090bfc886 Improve build script 2024-01-12 00:27:16 +08:00
halx99 a88ffb9647 Move install-pwsh.sh to 1k/ 2024-01-11 01:46:16 +08:00
Deal cfc0af8b9f
Update manifest.ps1 [skip ci][skip appveyor] 2024-01-10 07:34:22 +08:00
halx99 1adb2031dd Allow build linux target with toolchain: clang 2024-01-10 01:57:56 +08:00
halx99 32b0b7a48b Update 1k scripts 2024-01-09 01:07:05 +08:00
halx99 ac45e7e815 Improve build script 2024-01-07 00:13:11 +08:00
halx99 3f4f35b711 Fix typo 2024-01-06 01:17:11 +08:00
halx99 5794f67335 Improve build scripts & update changelog 2024-01-06 01:09:31 +08:00
halx99 22a1faa593 Improve build system 2023-12-22 02:39:38 +08:00
Deal 8902d48a5b
Prepare release v2.1.0 (#1527)
* Prepare release v2.1.0

- Support download prebuilt and optional package from mirror: gitee.com
- Move download cache dir: thirdparty/_deps ==> cache
- Add change log

* Update CHANGELOG.md
2023-12-20 02:34:45 +08:00
Deal b88c28013c
GLES3: Fix scalar array layout (#1523) 2023-12-15 22:29:23 +08:00
halx99 410b6e0779 Fix MSL texture order does not follow GLSL binding order
Update glslcc to 1.9.4, refer #1520
2023-12-15 00:42:29 +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
halx99 6af52b731d Improve build scripts 2023-11-29 23:19:04 +08:00
halx99 cad2d56641 Add missing prebuilt 2023-11-25 16:48:58 +08:00
halx99 afa763a6fd Improve build scripts 2023-11-18 13:16:40 +08:00
halx99 9bddf333e6 Improve build script 2023-11-12 19:54:03 +08:00
Deal 54ef33d34d Add API: Device::getPixelRatio (#1418) 2023-11-06 00:19:44 +08:00
halx99 e383179ed9 Improve axmol console
- Force cast corss config & build paramer to array to avoid combine
with builtin parameters incorrect
- Use evaluated build target to run and deploy
2023-10-27 23:37:44 +08:00
halx99 8165a7280e Remove parsing target from CMakeCache
it's not trustable
2023-10-10 23:17:37 +08:00
halx99 93c5e350b3 Fix build error when -DAX_USE_ALSOFT=ON on xcode14.3+ 2023-10-07 13:13:08 +08:00
Deal 94550d5c3f No need set ios simulator sysroot 2023-10-07 12:42:22 +08:00
halx99 734e3664e5 Fix #1378, refer to #1310 2023-10-07 12:36:33 +08:00
halx99 1db60f4f0d build1k: Improve ndk find [skip ci][skip appveyor] 2023-10-01 23:55:46 +08:00
halx99 4e04f6da95 Improve build script 2023-09-28 13:07:09 +08:00
halx99 23a2daf2b4 Improve build scripts [skip ci][skip appveyor] 2023-09-27 20:28:04 +08:00
halx99 4f0b6303d0 Improve build1k.ps1
support load build target from cmake cache file
2023-09-26 15:21:36 +08:00
halx99 ab289141f2 Fix #1350 2023-09-26 14:10:46 +08:00
halx99 64b912e7ab Improve genbindings.ps1 2023-09-26 10:32:53 +08:00
halx99 50138ac20e Improve build scripts 2023-09-25 01:16:09 +08:00
halx99 80c098053a Improve build scripts 2023-09-23 11:33:12 +08:00
Deal fcac4e4271 Fix #1352 2023-09-22 18:54:36 +08:00
Deal ee6e684383 Improve fsync.ps1 [skip ci] 2023-09-22 18:52:43 +08:00
Deal 2b0663e41e Improve fsync.ps1 [skip ci] 2023-09-22 09:43:26 +08:00
halx99 238c3b1552 build1k: support auto setup llvm for win32 2023-09-21 01:19:04 +08:00
Deal 1d7ab72ad4 Update build1k.ps1
Only for appveyor ci happy
2023-09-18 11:44:06 +08:00
halx99 41f9a20671 Use explicit emsdk version for wasm build [skip ci] [skip appveyor] 2023-09-14 19:04:08 +08:00
Deal be7574683f Update build1k.ps1 [skip ci][skip appveyor] 2023-09-14 15:35:08 +08:00
halx99 a6c3ea8edd Fix ci 2023-09-13 16:14:10 +08:00
halx99 983e383077 Improve build script 2023-09-13 16:00:33 +08:00
halx99 b16880ef2d Improve setup script 2023-09-13 03:37:49 +08:00
halx99 b8baf0d1a8 Android: Allow use external cmake outside of android sdk 2023-09-12 19:32:20 +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 c7ab6a227e Processing wasm touch events properly 2023-09-07 19:32:06 +08:00
halx99 d965dc42cd Improve 1k/build1k.ps1 2023-09-06 12:36:24 +08:00
halx99 e684e7aea5 Explicit clang setup [skip ci] [skip appveyor] 2023-09-03 19:55:39 +08:00
halx99 cbb23108cb Merge: e1f3c5d76f c21736c0d6
Merge branch 'dev' of https://github.com/axmolengine/axmol into dev
2023-09-03 11:47:36 +08:00
halx99 7abad49137 Appveyor CI: build wasm release mode 2023-09-03 11:47:33 +08:00
halx99 8f0f3e53ec Increase clang-cl minmal version requirement [skip ci][skip appveyor] 2023-09-03 10:52:11 +08:00
halx99 692688accf Fix tvos ci 2023-09-03 09:46:21 +08:00
halx99 8a9455a4ab Improve build1k 2023-09-03 06:49: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