Files
bullet3/examples/ThirdPartyLibs/lua-5.2.3/premake4.lua
2018-02-09 18:46:26 -08:00

31 lines
414 B
Lua

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"
}
if os.is("Linux") then
buildoptions{"-fPIC"}
end
files {
"src/*.c",
"src/*.h"
}
include "lua_compiler"
include "lua_standalone"