Commit Graph

1720 Commits

Author SHA1 Message Date
aismann 0aa6d151c9 SimpleSnake example 2022-06-14 19:48:06 +02:00
halx99 5c35eda3b9 Upgrade android toolsets
- ndk to r23c
- gradle plugin to 7.2.0
- gradle wrapper to 7.4.2
- config ndk ver at adxetools.gradle
2022-06-11 16:16:47 +08:00
halx99 a03e5c6cf6 Fix ios device install problems
- lua template missing `CFBundleExecute`
- Use `_` instead tests project to avoid unknown error
2022-05-23 17:03:07 +08:00
halx99 c0977642bb Improve cmake scripts 2022-05-19 10:54:42 +08:00
halx99 4a05253be1 Fix cmake link 2022-05-18 22:27:43 +08:00
halx99 4ca80aee68 Fix app link with prebuilt msedge webview2 2022-05-18 12:49:12 +08:00
一线灵 5f7a3a0085
Delete unused code 2022-05-17 11:32:43 +08:00
halx99 21fe8df12b Fix lua template duplicate res error on mac
Fix typo

Fix cmdline fail on new macos
2022-05-15 16:36:06 +08:00
halx99 c9f3ca9278 Improve VS Ninja workflow 2022-04-28 11:43:59 +08:00
Shatyuka d71c620fc1 Compatible with Ninja 2022-04-26 15:16:02 +08:00
halx99 099d885393 Sync zlib file name for templates 2022-04-23 09:01:34 +08:00
halx99 93f549a0ad Fix libc++_shared.so not found in old devices(API 22) 2022-04-05 11:45:59 +08:00
halx99 34f5b84d5d Improve optional libs linking on non-win32 platforms 2022-04-02 14:03:46 +08:00
halx99 0ea2db2dfd Improve use prebuilt engine libs for windows
a. Fix msedge webview2 include for win32
b. Fix msedeg webview2 linking for apps which use prebuilt libs
c. Improve optional libs linking for apps which use prebuilt libs
d. Auto build optional libs which not dependent by engine, such as yaml-cpp
2022-04-02 13:50:53 +08:00
halx99 5b2eb79456 Update project urls 2022-02-24 18:45:25 +08:00
halx99 94f3b94d55 Fix use prebuilt engine libs for win64 2022-02-22 19:09:34 +08:00
halx99 8196eb8ac6 Finish #564
Add new cmake variable:

- AX_PREBUILT_DIR: specific engine build directory relative to ADXE_ROOT, such as "-DAX_PREBUILT_DIR=build_x86"
2022-02-20 17:07:13 +08:00
halx99 67c6bcec4f [cmake] Rename BUILD_LUA_LIBS to AX_ENABLE_EXT_LUA 2022-02-17 21:31:39 +08:00
halx99 69d08cc420 Improve run.bat.in 2022-02-09 11:50:06 +08:00
deal 79eb62bc19
Update run.bat.in 2022-02-08 23:18:15 +08:00
deal 257562ff70
Fix run.bat path 2022-02-08 23:17:06 +08:00
halx99 287d06d54a Improve run.bat.in, use relative build dir 2022-02-07 20:36:44 +08:00
halx99 7f81b65596 [Android] Upgrade MIN_SDK_VERSION from 16 to 17 2022-01-30 20:38:01 +08:00
halx99 cfe6390de3 [Android] By default, build single arch: arm64-v8a 2022-01-30 20:36:41 +08:00
halx99 722b6af026 [Android][freetype] Change streamingParsingEnabled to true
Add noCompress config to build.gradle for all templates & tests project

Exists project, please add follow config

android {

// Other configs
// ...

// noCompress config
aaptOptions {
   noCompress 'mp3','ogg','wav','mp4','ttf','ttc'
}

}
2022-01-29 14:54:32 +08:00
halx99 f0fa7780d7 Improve gradle script to find cmake 2022-01-28 18:25:50 +08:00
halx99 931da84bc3 Fix gradle wrapper url 2022-01-28 13:41:18 +08:00
halx99 716b20cf6b Update recommend android studio and gradle
- Android Studio 2021.1.1+ (More intelligent)
- Gralde wrapper to 7.2: https://services.gradle.org/distributions/gradle-7.2-bin.zip.zip
- Gradle Plugin to 7.1: com.android.tools.build:gradle:7.1.0

These upgrades will fix the issue: #573
2022-01-28 12:47:05 +08:00
halx99 11360497ea Update gradle wrapper to 6.9.2 2022-01-27 18:44:59 +08:00
halx99 3d7218a0eb Fix #570
a. fix lua build error
b. still use separated link jni libs
2022-01-04 09:40:27 +08:00
halx99 a651879ee6 Tidy audio folder 2022-01-03 11:34:58 +08:00
halx99 e534dd66c0 Rename core folder name 2021-12-31 14:39:08 +08:00
halx99 8fd4a8afc3 Fix android ci 2021-12-29 13:44:39 +08:00
halx99 ce5adf35f7 Committing clang-format changes 2021-12-28 08:06:23 +00:00
halx99 01310bf1b1 Modify some extensions for string_view 2021-12-27 13:52:08 +08:00
halx99 1a5370b43f Update run.bat.in [skip ci] 2021-12-21 10:46:28 +08:00
halx99 e529bd8bf0 Improve templates, auto generate quick stater run.bat on windows 2021-12-21 10:41:33 +08:00
halx99 b4bedd24d0 Improve starter lua template HellLua
a. Use lua search path for scripts instead FileUtils
b. Put new lua search path to front of LuaStack
2021-12-19 14:59:00 +08:00
halx99 086f6b1715 Remove unnecessary AudioEngine::end() at AppDelegate::~AppDelegate of HellCpp & HelloLua 2021-12-16 19:00:19 +08:00
halx99 857d2c177f Optimize cmake scripts 2021-10-12 15:39:37 +08:00
halx99 846231e2f1 Fix #522 2021-10-12 13:16:27 +08:00
halx99 9ec47fdb2b HelloCpp use safe origin to position corner stubs 2021-10-09 14:48:18 +08:00
halx99 aad17cb9f3 Update lua debug project file template 2021-10-08 11:07:06 +08:00
halx99 9630464694
Rename templates/cpp-template-default/HelloLua.xsxproj to templates/lua-template-default/HelloLua.xsxproj 2021-10-08 00:00:06 +08:00
halx99 aa2b3a81e2 Add lua debug project file [skip ci] 2021-10-07 23:18:09 +08:00
halx99 bbd3a78ae4 Improve lua workflow on windows
a. Use working directory as default resource root on windows
b. Don't copy res and scripts to build binary dir on windows
c. Always build plainlua as dll on windows for fast debug
d. Remove 64bit spec search path for lua script
2021-10-07 18:44:34 +08:00
halx99 f1cdfdca52 Merge empty project
a. Remove cpp-empty-test, use HelloCpp as starter
b. Remove lua-empty-test, use HelloLua as starter
2021-09-07 17:24:07 +08:00
halx99 56edf5c339 Fix xcode build warnings 2021-08-12 15:54:16 +08:00
halx99 6ee687302b Xcode Embed Frameworks support
refer to: https://gitlab.kitware.com/cmake/cmake/-/issues/22412#note_997156
2021-08-10 11:43:16 +08:00
halx99 29015e1cd7 Make gradle utils file as shared [ci build] 2021-06-02 06:27:19 +08:00