Merge pull request #653 from raedwulf/fix-premake4

Fix premake4.lua bootstrap build script
This commit is contained in:
Tom van Dijck 2017-01-04 08:42:32 -08:00 committed by GitHub
commit 3352ffaf54

View File

@ -17,24 +17,25 @@
targetname "premake5" targetname "premake5"
language "C" language "C"
kind "ConsoleApp" kind "ConsoleApp"
defines { "PREMAKE_NO_BUILTIN_SCRIPTS" }
flags { "No64BitChecks", "ExtraWarnings", "StaticRuntime" } flags { "No64BitChecks", "ExtraWarnings", "StaticRuntime" }
includedirs { "src/host/lua/src" } includedirs { "contrib/lua/src" }
files files
{ {
"*.txt", "**.lua", "*.txt", "**.lua",
"src/**.h", "src/**.c", "contrib/lua/src/*.c", "contrib/lua/src/*.h",
"src/host/scripts.c" "src/host/*.c"
} }
excludes excludes
{ {
"src/host/lua/src/lauxlib.c", "contrib/lua/src/lauxlib.c",
"src/host/lua/src/lua.c", "contrib/lua/src/lua.c",
"src/host/lua/src/luac.c", "contrib/lua/src/luac.c",
"src/host/lua/src/print.c", "contrib/lua/src/print.c",
"src/host/lua/**.lua", "contrib/lua/**.lua",
"src/host/lua/etc/*.c" "contrib/lua/etc/*.c"
} }
configuration "Debug" configuration "Debug"