Commit Graph

40851 Commits

Author SHA1 Message Date
Deal(一线灵) 779362ad8e
Update DevSetup.md [skip ci] 2023-07-06 21:34:50 +08:00
Deal(一线灵) 90c8e62636
Update DevSetup.md [skip ci] 2023-07-06 21:27:40 +08:00
halx99 a2645186b4 [CMake] Add find shader sources function:
Syntax: ax_find_shaders(dir shader_sources [RECURSE])
examples:
- ax_find_shaders("${CMAKE_CURRENT_LIST_DIR}/core/renderer/shaders" runtime_shader_sources)
 - ax_find_shaders("${CMAKE_CURRENT_LIST_DIR}/Source" custom_shader_sources RECURSE)
2023-07-06 21:15:28 +08:00
halx99 167b81d5cd Bump 1.1.0 2023-07-06 20:37:59 +08:00
Deal(一线灵) 42362c61a4
Fix ci 2023-07-06 19:36:27 +08:00
halx99 90aa74cdfa Improve cmake script
- glslcc helper function
  - Rename ax_add_shader to ax_target_compile_shaders
  - Provide argument FILES for specify single or multi shader
    source files support, i.e.
       ax_target_compile_shaders(target_name FILES 1.frag 1.vert)
- Rename all _AX_ROOT_PATH to _AX_ROOT
2023-07-06 19:21:36 +08:00
halx99 4cf6060e42 [CMAKE] Add shader compile function: ax_add_shader [skip ci]
- ax_add_shader(${FILE}): output compiled shader to ${CMAKE_BINARY_DIR}/runtime/shaders/${SC_LANG}/xxx_fs.bin
- ax_add_shader(${FILE} CUSTOM): output compiled shader to ${CMAKE_BINARY_DIR}/runtime/shaders/${SC_LANG}/xxx_fs.bin
- ax_add_shader(${FILE} CVAR): the shader will compiled to c hex header for embed include by C/C++ use
2023-07-06 14:08:16 +08:00
halx99 2786031541 Update setup.py to setup.ps1 in cmake [skip ci] 2023-07-06 14:00:21 +08:00
halx99 7243ced7a1 Fix linux setup 2023-07-06 13:20:56 +08:00
halx99 bfc400527b Fix linux setup 2023-07-06 13:15:54 +08:00
halx99 119ba2965c Fix linux ci 2023-07-06 12:22:41 +08:00
halx99 e78ef2d885 Migrate setup.py to setup.ps1 2023-07-06 12:18:33 +08:00
halx99 f98ecb2000 Sync lua-bindings 2023-07-05 20:22:44 +08:00
halx99 f148047af3 Update yasio to 4.0.0 2023-07-05 20:22:11 +08:00
Deal(一线灵) 875ccc28b6
Remove duplicate option -xt from build.ps1 2023-07-05 19:12:49 +08:00
Deal(一线灵) 802e7052c1
Use glad for android GLESv3 support 2023-07-04 17:34:12 +08:00
halx99 c725768193 Fix build options parsing 2023-07-04 09:23:07 +08:00
halx99 6b6fc25078 Add build1k:assembleDebug support for android 2023-07-04 09:20:56 +08:00
Deal(一线灵) e3f33fe9c2
Fix CMakeLists.txt 2023-07-03 21:16:33 +08:00
Deal(一线灵) 8ffc6660c4
Update build.ps1
Don't enable AX_ENABLE_EXT_EFFEKSEER in ci script
2023-07-03 21:06:58 +08:00
halx99 5cbcb7fc0d Rename option `AX_USE_COMPAT_GL` to `AX_USE_ANGLE` 2023-07-03 20:35:55 +08:00
halx99 fc8b835447 Fix copy angle dll error 2023-07-03 20:28:55 +08:00
halx99 b25ffffbfe Improve ci scripts 2023-07-03 20:01:56 +08:00
halx99 5cb2f4f133 Improve build.ps1 2023-07-03 13:39:50 +08:00
Deal(一线灵) 1947208166
Update build1k.ps1 2023-07-02 21:23:56 +08:00
Deal(一线灵) 36dbe1a3f0
Passing winsdk to build1k.ps1 2023-07-02 18:00:58 +08:00
Deal(一线灵) cea4f087c3
Update build.ps1 2023-07-02 14:35:13 +08:00
Deal(一线灵) 639b76638a
Update build.ps1 2023-07-02 13:42:11 +08:00
halx99 27dc3b6cbb Remove test code 2023-07-02 10:51:07 +08:00
halx99 23c4e690d5 Fix version match 2023-07-02 10:48:59 +08:00
halx99 7a07a7118a Add clang setup 2023-07-02 10:23:12 +08:00
halx99 9a70700be3 Add missing -winsdk option 2023-07-02 10:04:00 +08:00
halx99 8c09b48f2d Fix prebuilt link [skip ci] 2023-07-02 01:08:04 +08:00
halx99 c377e718e0 Fix nuget setup & improve source migrate 2023-07-02 01:01:46 +08:00
Deal(一线灵) 785ec2ff82
Improve build1k.ps1 (#1251) 2023-07-02 00:53:41 +08:00
halx99 e6e0ae5a5b Reduce ci checks 2023-07-01 21:54:12 +08:00
halx99 86015cea6d Forcing c99 when winsdk < 10.0.22000.0, refer #1246 2023-07-01 21:11:01 +08:00
j-jorge a4a8c0b17e
Add missing include guard in NinePatchImageParser.h (#1248) 2023-07-01 08:53:09 +08:00
Deal(一线灵) fab646c0d6
Improve ci files (#1247)
* Improve ci files

* Fixup

* Fix ci

* Update DevSetup.md

* Remove duplicated code

* Fix setup_jdk

* Fix typo

* Check jdk setup

* Update build1k.ps1

* Update build.ps1

* Update build1k.ps1
2023-07-01 08:52:14 +08:00
j-jorge ccc7071b47
UserDefault: check the result of posix_ftruncate. (#1249) 2023-07-01 08:51:29 +08:00
j-jorge 1a43a2d8f6
Fix missing return value in EditBoxImplLinux::getNativeDefaultFontName(). (#1250) 2023-07-01 08:49:17 +08:00
halx99 41137c6a67 Fix typo 2023-06-30 17:26:24 +08:00
halx99 a68a3140b1 Fix ci 2023-06-30 17:20:00 +08:00
halx99 b74e809001 Improve ci pwsh script
- Rename tools/ci/build.ps1 to tools/ci/build1k.ps1
- build1k.ps1 now also setup jdk for build android
- Rename `-cm` to `-xc`
- Rename `-cb` to `-xb`
- Add option `-prefix` to specific install location for missing tools,
  default localtion is $HOME/build1k/
2023-06-30 17:06:33 +08:00
Deal(一线灵) 71eb4ed8cf
Update DevSetup.md [skip ci] 2023-06-29 21:01:45 +08:00
Deal(一线灵) 5d4ba705f0
Almost pwsh for ci (#1244) 2023-06-29 19:46:52 +08:00
halx99 902166ed16 Update openal-soft to solve UWP crash issue 2023-06-28 16:40:40 +08:00
halx99 408608a579 Fix warning [skip ci] 2023-06-28 16:17:55 +08:00
halx99 a6a4e3f8a8 Remove downloaded c-ares sources [skip ci] 2023-06-28 00:47:29 +08:00
halx99 5d2c8b631d Download optional c-ares 2023-06-28 00:44:29 +08:00