mirror of https://github.com/axmolengine/axmol.git
Add cmake option -DLUA_ENGINE=luajit to switch lua engine to luajit [ci build]
This commit is contained in:
parent
1d4527772e
commit
520cc31f1b
|
@ -34,7 +34,7 @@ jobs:
|
|||
# Note the current convention is to use the -S and -B options here to specify source
|
||||
# and build directories, but this is only available with CMake 3.13 and higher.
|
||||
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
|
||||
run: cmake -S %GITHUB_WORKSPACE% -B %GITHUB_WORKSPACE%/build_x86 -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -A Win32 -DBUILD_EXTENSION_IMGUIEXT=ON
|
||||
run: cmake -S %GITHUB_WORKSPACE% -B %GITHUB_WORKSPACE%/build_x86 -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -A Win32 -DBUILD_EXTENSION_IMGUIEXT=ON -DLUA_ENGINE=luajit
|
||||
|
||||
- name: Build
|
||||
shell: cmd
|
||||
|
|
|
@ -69,9 +69,6 @@ if (NOT DEFINED CC_FORCE_USE_GLES)
|
|||
set(CC_FORCE_USE_GLES FALSE CACHE INTERNAL "Force use GLES" )
|
||||
endif()
|
||||
|
||||
set(LUA_ENGINE "plainlua" CACHE INTERNAL "The lua core lib, luajit or plainlua")
|
||||
set(LUA_VERSION "5.3.6" CACHE INTERNAL "The plainlua version")
|
||||
|
||||
project(cocos2d_libs)
|
||||
|
||||
include(2d/CMakeLists.txt)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "v86",
|
||||
"version": "v87",
|
||||
"zip_file_size": "107642814",
|
||||
"repo_name": "engine-x-3rd",
|
||||
"repo_parent": "https://github.com/c4games/",
|
||||
|
|
Loading…
Reference in New Issue