Commit Graph

40881 Commits

Author SHA1 Message Date
Deal ed0b22ac70
Update axmolver.h.in [skip ci]
The main branch still  1.0.x compatible
2023-07-17 13:14:26 +08:00
Deal 0580e6ee49
Remove gitter [skip ci]
It's only bakup IM room, discord is preferred
2023-07-17 12:39:19 +08:00
RH b01786ef2c
Invert if condition checking for existence of the axmol bin path in the user path env variable (#1275)
Make list mutable to allow for inserting new path
2023-07-16 13:51:36 +08:00
Deal(一线灵) 1daf87c768
Reduce pull-request ci jobs 2023-07-15 22:39:32 +08:00
j-jorge a8940056aa
Allow unity builds on a subset of the sources. (#1266)
In order to allow unity builds we need to avoiding "using namespace"
at file scope, #undef our file-specific #defines, and avoid having
static functions with identical name and signature.
2023-07-15 19:06:54 +08:00
Deal(一线灵) 1135d443be
Add chat badges [skip ci] 2023-07-15 11:25:48 +08:00
halx99 e5b197776c Fix build1k cmake setup 2023-07-15 01:17:15 +08:00
halx99 cfcafd517a Don't setup glslcc and include it in main branch 2023-07-15 00:54:20 +08:00
Deal(一线灵) f16d86ceae
Update pull_request_template.md (#1270) 2023-07-15 00:21:23 +08:00
halx99 f1aab29e01 Improve build scripts 2023-07-12 12:15:27 +08:00
RH 7b7143bb6c
Fix for crash in TextureCache test (#1267) 2023-07-11 21:55:17 +08:00
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