Commit Graph

40870 Commits

Author SHA1 Message Date
halx99 09a3a950ae [build1k] Create differ build folder for cross target platforms
rules:
- host target: build_${buildArch}
- cross target: build_${buildTarget}_{buildArch}
2023-07-10 14:24:08 +08:00
j-jorge 7ade6fefad
Add missing include guards. (#1265) 2023-07-10 08:47:20 +08:00
aismann ccc17d413c
Update DevSetup.md (#1264)
Example: How to build the tetst projects
2023-07-10 00:36:50 +08:00
halx99 d7ec3f6e48 Fi link unexpecte dbus-1 on host 2023-07-10 00:36:17 +08:00
halx99 e9c0f1dc1e Fix android sdk setup in plain new machine 2023-07-09 23:27:24 +08:00
Deal(一线灵) 9637a7d187
[build1k] Fix ndk parent detect 2023-07-09 20:51:43 +08:00
halx99 dd983e21e6 [build1k] Fix ndk parent folder detect 2023-07-09 20:42:51 +08:00
CHP 8a2ac45e9a
Start AutoStart when env AXMOL_START_AUTOTEST is set (#1261) 2023-07-09 20:10:50 +08:00
RH 42fabb4600
Update Sprite::getQuad() to return const reference (#1260) 2023-07-09 19:00:12 +08:00
RH 3d0d425679
Fix for crashes in several tests (#1259) 2023-07-09 14:45:41 +08:00
halx99 a171f90848 Improve AXGLSLCC.cmake
By default, output compiled shader
to `${CMAKE_BINARY_DIR}/runtime/axslc`,
then link it to `$<TARGET_FILE_DIR::target_name>/axslc`
2023-07-08 17:17:10 +08:00
halx99 e47627b6cf Fix cmake find_package GLX warning for linux 2023-07-08 17:13:30 +08:00
halx99 86c4ef48d1 Improve setup script [skip ci] 2023-07-08 12:37:02 +08:00
Deal(一线灵) e91020ac34
Remove migrate source inseted by axmol-migrate:
https://github.com/axmolengine/axmol-migrate
2023-07-07 20:51:04 +08:00
halx99 f73c6c3edc [build1k] Allow overwrite manifest by script manifest.ps1 2023-07-07 19:32:57 +08:00
halx99 a29f54316a Don't add .bin for glslcc shader compile output by default 2023-07-07 19:31:46 +08:00
halx99 ad18458ddf For bot happy 2023-07-07 04:05:56 +08:00
Deal(一线灵) adaf1d9606
Update DevSetup.md [skip ci] 2023-07-06 21:47:16 +08:00
Deal(一线灵) c0c621af37
Update DevSetup.md [skip ci] 2023-07-06 21:45:20 +08:00
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