prepare for some basic lua scripting example
This commit is contained in:
27
examples/ThirdPartyLibs/lua-5.2.3/premake4.lua
Normal file
27
examples/ThirdPartyLibs/lua-5.2.3/premake4.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
project "lua-5.2.3"
|
||||
|
||||
kind "StaticLib"
|
||||
|
||||
--flags {}
|
||||
|
||||
|
||||
defines { "LUA_COMPAT_ALL"}
|
||||
|
||||
if os.is("Linux") then
|
||||
defines {"LUA_USE_LINUX"}
|
||||
end
|
||||
if os.is("MacOSX") then
|
||||
defines {"LUA_USE_MACOSX"}
|
||||
end
|
||||
|
||||
targetdir "../../../lib"
|
||||
includedirs {
|
||||
"src"
|
||||
}
|
||||
files {
|
||||
"src/*.c",
|
||||
"src/*.h"
|
||||
}
|
||||
|
||||
include "lua_compiler"
|
||||
include "lua_standalone"
|
||||
Reference in New Issue
Block a user