mirror of https://github.com/axmolengine/axmol.git
Improve cmake scripts
a. rename project 'plainluac' to 'luac' b. add executable project 'lua' c. unify cmake runtime directory to bin
This commit is contained in:
parent
261bea4234
commit
d7610b8c77
|
@ -151,7 +151,7 @@ set_target_properties(${ENGINEX_CORE_LIB}
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
||||||
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
||||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
|
||||||
VERSION "${ENGINEX_VERSION}"
|
VERSION "${ENGINEX_VERSION}"
|
||||||
FOLDER "Internal"
|
FOLDER "Internal"
|
||||||
)
|
)
|
||||||
|
|
|
@ -48,7 +48,7 @@ function(setup_cocos_extension_config target_name)
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
||||||
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
||||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
|
||||||
FOLDER "Extensions"
|
FOLDER "Extensions"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -22,12 +22,6 @@ THE SOFTWARE.
|
||||||
|
|
||||||
]]
|
]]
|
||||||
|
|
||||||
if (math.pow == nil) then
|
|
||||||
math.pow = function (x,y)
|
|
||||||
return x ^ y
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
require "cocos.cocos2d.Cocos2d"
|
require "cocos.cocos2d.Cocos2d"
|
||||||
require "cocos.cocos2d.Cocos2dConstants"
|
require "cocos.cocos2d.Cocos2dConstants"
|
||||||
require "cocos.cocos2d.functions"
|
require "cocos.cocos2d.functions"
|
||||||
|
|
Loading…
Reference in New Issue