mirror of https://github.com/axmolengine/axmol.git
Merge: 91bfb7c8ff
a5cf017e0f
Merge pull request #330 from c4games/lua54-compat Lua 5.4 compatible
This commit is contained in:
parent
d7610b8c77
commit
b8892e446b
|
@ -151,7 +151,7 @@ set_target_properties(${ENGINEX_CORE_LIB}
|
|||
PROPERTIES
|
||||
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
||||
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
||||
VERSION "${ENGINEX_VERSION}"
|
||||
FOLDER "Internal"
|
||||
)
|
||||
|
|
|
@ -48,7 +48,7 @@ function(setup_cocos_extension_config target_name)
|
|||
PROPERTIES
|
||||
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
||||
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
||||
FOLDER "Extensions"
|
||||
)
|
||||
|
||||
|
|
|
@ -22,6 +22,12 @@ THE SOFTWARE.
|
|||
|
||||
]]
|
||||
|
||||
if (math.pow == nil) then
|
||||
math.pow = function (x,y)
|
||||
return x ^ y
|
||||
end
|
||||
end
|
||||
|
||||
require "cocos.cocos2d.Cocos2d"
|
||||
require "cocos.cocos2d.Cocos2dConstants"
|
||||
require "cocos.cocos2d.functions"
|
||||
|
|
Loading…
Reference in New Issue