From 77acc78067efc3ab66a1269ea7e2e9d265c2af20 Mon Sep 17 00:00:00 2001 From: kezz Date: Wed, 2 Jun 2004 10:47:27 +0000 Subject: [PATCH] kezz - added fmod libs to vc workspace This was SVN commit r341. --- source/workspaces/premake/premake.lua | 141 +++++++++++++------------- 1 file changed, 71 insertions(+), 70 deletions(-) diff --git a/source/workspaces/premake/premake.lua b/source/workspaces/premake/premake.lua index 97e2953d86..29695d08c7 100755 --- a/source/workspaces/premake/premake.lua +++ b/source/workspaces/premake/premake.lua @@ -1,70 +1,71 @@ -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") }, - -- graphics/ - { sourcesfromdirs( - "../../graphics") }, - -- maths/ - { sourcesfromdirs( - "../../maths") }, - -- renderer/ - { sourcesfromdirs( - "../../renderer") }, - -- gui/ - { sourcesfromdirs( - "../../gui") }, - -- terrain/ - { sourcesfromdirs( - "../../terrain") }, - -- main - { "../../main.cpp" }, - -- scripting - { sourcesfromdirs("../../scripting") } -} -package.includepaths = { "../../ps", "../../simulation", "../../lib", "../../graphics", "../../maths", "../../renderer", "../../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 - +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") }, + -- graphics/ + { sourcesfromdirs( + "../../graphics") }, + -- maths/ + { sourcesfromdirs( + "../../maths") }, + -- renderer/ + { sourcesfromdirs( + "../../renderer") }, + -- gui/ + { sourcesfromdirs( + "../../gui") }, + -- terrain/ + { sourcesfromdirs( + "../../terrain") }, + -- main + { "../../main.cpp" }, + -- scripting + { sourcesfromdirs("../../scripting") } +} +package.includepaths = { "../../ps", "../../simulation", "../../lib", "../../graphics", "../../maths", "../../renderer", "../../terrain", "../.." } + +-- Platform Specifics +if (OS == "windows") then + -- Libraries + package.links = { + "opengl32", + "glu32", + "fmodvc" + } + 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 +