Move lua into 'contrib' folder, and build as any other 3rd party lib.

This commit is contained in:
Tom van Dijck 2016-02-25 15:39:49 -08:00
parent 745c640312
commit d7581b6dae
105 changed files with 36 additions and 12 deletions

View File

Before

Width:  |  Height:  |  Size: 797 B

After

Width:  |  Height:  |  Size: 797 B

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

28
contrib/lua/premake5.lua Normal file
View 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" }

Some files were not shown because too many files have changed in this diff Show More