axmol/tools/tolua
halx99 b25b702d97 Release 2.1.5 (#2076)
* Fix  unexpected libpng used

* Fix string format incorrect for tests

* Fix #1751, use coroutine control AutoTest flow

* Update CHANGELOG.md

* Added OpenType font (.otf) to the noCompress list. (#2077)

* Update 1k & copyright notice in some sources

* Move doctest to axmol 3rdparty

* Fix ci

* Update 1kdist to v90

* Update 1kiss.ps1

* DrawNodeV2 0.95.1 (#2079)

* Rename remaining legacy engine related spells and improve code style

* Update 3rdparty README.md

* Fix checkReallySupportsASTC does not work on ios device

reported by @BIGCATDOG in https://github.com/axmolengine/axmol/issues/2078

* Fix ci

* FastRNG: add missing include for AXASSERT (#2081)

* Delete unused files

* Improve FileUtils

- Rename FileUtils::createDirectory to FileUtils::createDirectories
- Use splitpath_cb to optimize FileUtils::createDirectories
- Rename FileUtils::getFileShortName to FileUtils::getPathBaseName
- Rename FileUtils::getFileExtension to FileUtils::getPathExtension
- Add FileUtils::getPathDirName
- Add FileUtils::getPathBaseNameNoExtension
- Mark all renamed FileUtils stubs old name deprecated
- Mark all FileUtils offthread APIs deprecated

* Update box2d to v2.4.2

* Disable /sdl checks explicitly for winuwp

For axmol deprecated policy, we need disable /sdl checks explicitly to avoid compiler traits invoking deprecated functions as error

* Update cppwinrt to 2.0.240405.15

* Update simdjson to 3.10.0

* Fix box2d testbed compile error

* Improve file path to url

* Fix FileUtils::createDirectories unix logic

* axmol-cmdline: remove arch suffix for host build output directory

* Update CHANGELOG.md

* Update lua bindings

---------

Co-authored-by: Dani Alias <danielgutierrezalias@gmail.com>
Co-authored-by: aismann <icesoft@freenet.de>
Co-authored-by: smilediver <smilediver@outlook.com>
2024-08-11 23:51:35 +08:00
..
README.md Fix ci 2024-02-02 00:42:42 +08:00
ax_3d.ini Update tolua config 2024-06-07 20:18:43 +08:00
ax_audioengine.ini Update LUA config for new build options (#1772) 2024-03-28 13:38:33 +08:00
ax_backend.ini Release 2.1.5 (#2076) 2024-08-11 23:51:35 +08:00
ax_base.ini Update tolua config 2024-06-07 20:18:43 +08:00
ax_controller.ini Rename folder thirdparty ==> 3rdparty 2024-03-19 21:33:02 +08:00
ax_csloader.ini Rename folder thirdparty ==> 3rdparty 2024-03-19 21:33:02 +08:00
ax_extension.ini Rename folder thirdparty ==> 3rdparty 2024-03-19 21:33:02 +08:00
ax_fairygui.ini Rename folder thirdparty ==> 3rdparty 2024-03-19 21:33:02 +08:00
ax_navmesh.ini Use single macro to control each feature (#1776) 2024-03-30 08:56:32 +08:00
ax_physics.ini Update tolua config 2024-06-07 20:18:43 +08:00
ax_physics3d.ini Release 2.1.5 (#2076) 2024-08-11 23:51:35 +08:00
ax_spine.ini Rename folder thirdparty ==> 3rdparty 2024-03-19 21:33:02 +08:00
ax_studio.ini Rename folder thirdparty ==> 3rdparty 2024-03-19 21:33:02 +08:00
ax_ui.ini Rename folder thirdparty ==> 3rdparty 2024-03-19 21:33:02 +08:00
ax_video.ini Release 2.1.5 (#2076) 2024-08-11 23:51:35 +08:00
ax_webview.ini Rename folder thirdparty ==> 3rdparty 2024-03-19 21:33:02 +08:00
genbindings.py Release 2.1.5 (#2076) 2024-08-11 23:51:35 +08:00

README.md

How to Use bindings-generator

Prerequisites

  1. Download libclang from https://github.com/simdsoft/1kiss/releases/download/llvmorg-15.0.7/llvmorg-15.0.7.zip
  2. Copy libclang.dll/libclang.dylib/libclang.so (match with your OS) to tools/bindings-generator/libclang/, refer to tools/win-ci/genbindings.ps1

On Windows:

  • Make sure that you have installed android-ndk-r23c or later.
  • Install python3.7+(64bit) from https://www.python.org with Add to 'PATH' install option.
  • Install python dependices by pip.
    pip install PyYAML Cheetah3
  • Go to "tools/tolua" folder, and run "genbindings.py". The generated codes will be under "cocos\scripting\auto-generated\lua-bindings".

On MAC:

  • Use Homebrew to install the python and use pip install the python dependencies.
    brew install python3
  • Install python dependices by pip3.
    pip3 install PyYAML Cheetah3
  • Download NDK 64bit r23c or later from Android NDK
  • Run
    export ANDROID_NDK=/path/to/android-ndk-r23c
    ./genbindings.py

On Ubuntu Linux 22.04 64bit

  • Install python
    sudo apt-get install python3
  • Install python dependices by pip.
    sudo apt-get install python3-pip
    sudo pip3 install PyYAML Cheetah3
  • Download NDK 64bit r23c from Android NDK
  • Go to "tools/tolua", Run
    export ANDROID_NDK=/path/to/android-ndk-r23c
    python3 ./genbindings.py