Merge pull request #653 from raedwulf/fix-premake4
Fix premake4.lua bootstrap build script
This commit is contained in:
commit
3352ffaf54
19
premake4.lua
19
premake4.lua
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user