Removed old premake files from old place
This was SVN commit r252.
This commit is contained in:
parent
38283af23c
commit
d1228e4050
@ -1,7 +0,0 @@
|
||||
function sourcesfromdirs(...)
|
||||
local res = {}
|
||||
for i=1, getn(arg) do
|
||||
res[i]=matchfiles(arg[i].."/*.cpp", arg[i].."/*.h")
|
||||
end
|
||||
return res
|
||||
end
|
Binary file not shown.
@ -1,59 +0,0 @@
|
||||
dofile("functions.lua")
|
||||
|
||||
-- Set up the Project
|
||||
project.name = "prometheus"
|
||||
project.bindir = "../../binaries/system"
|
||||
project.libdir = "../../binaries/system"
|
||||
|
||||
-- Start the package part
|
||||
package = newpackage()
|
||||
package.name = "prometheus"
|
||||
-- Windowed executable on windows, "exe" on all other platforms
|
||||
package.kind = "winexe"
|
||||
package.language = "c++"
|
||||
|
||||
-- Package target for debug and release build
|
||||
-- On Windows, ".exe" is added on the end, on unices the name is used directly
|
||||
package.config["Debug"].target = "ps_dbg"
|
||||
package.config["Release"].target = "ps"
|
||||
|
||||
-- Files
|
||||
package.files = {
|
||||
-- ps/
|
||||
{ sourcesfromdirs("../ps") },
|
||||
-- simulation/
|
||||
{ sourcesfromdirs("../simulation") },
|
||||
-- lib/
|
||||
{ sourcesfromdirs(
|
||||
"../lib",
|
||||
"../lib/sysdep",
|
||||
"../lib/res") },
|
||||
-- terrain/
|
||||
{ sourcesfromdirs(
|
||||
"../terrain") },
|
||||
-- gui/
|
||||
{ sourcesfromdirs(
|
||||
"../gui") },
|
||||
-- main
|
||||
{ "../main.cpp" }
|
||||
}
|
||||
package.includepaths = { "../ps", "../simulation", "../lib", "../terrain", ".." }
|
||||
|
||||
-- Platform Specifics
|
||||
if (OS == "windows") then
|
||||
-- Libraries
|
||||
package.links = {
|
||||
"opengl32",
|
||||
"glu32"
|
||||
}
|
||||
tinsert(package.files, sourcesfromdirs("../lib/sysdep/win"))
|
||||
package.linkoptions = { "/ENTRY:entry" }
|
||||
package.linkflags = { "static-runtime" }
|
||||
package.buildflags = { "no-main" }
|
||||
else -- Non-Windows, = Unix
|
||||
-- Libraries
|
||||
package.links = { "GL", "GLU", "X" }
|
||||
-- Defines
|
||||
package.defines = { "HAVE_X" }
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user