Move lua into 'contrib' folder, and build as any other 3rd party lib.
Before Width: | Height: | Size: 797 B After Width: | Height: | Size: 797 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
28
contrib/lua/premake5.lua
Normal file
@ -0,0 +1,28 @@
|
||||
project "lua-lib"
|
||||
language "C"
|
||||
kind "StaticLib"
|
||||
warnings "off"
|
||||
|
||||
includedirs { "src" }
|
||||
|
||||
files
|
||||
{
|
||||
"**.h",
|
||||
"**.c"
|
||||
}
|
||||
|
||||
excludes
|
||||
{
|
||||
"src/lauxlib.c",
|
||||
"src/lua.c",
|
||||
"src/luac.c",
|
||||
"src/print.c",
|
||||
"**.lua",
|
||||
"etc/*.c"
|
||||
}
|
||||
|
||||
configuration "linux or bsd or hurd or aix"
|
||||
defines { "LUA_USE_POSIX", "LUA_USE_DLOPEN" }
|
||||
|
||||
configuration "macosx"
|
||||
defines { "LUA_USE_MACOSX" }
|