diff options
Diffstat (limited to 'premake5.lua')
-rw-r--r-- | premake5.lua | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/premake5.lua b/premake5.lua index 4ebb735c..478ac18d 100644 --- a/premake5.lua +++ b/premake5.lua @@ -51,7 +51,7 @@ function getarch(a) return a end -workspace "re3" +workspace "reVC" language "C++" configurations { "Debug", "Release" } location "build" @@ -60,10 +60,10 @@ workspace "re3" filter { "system:windows" } platforms { - "win-x86-RW33_d3d8-mss", + "win-x86-RW34_d3d8-mss", "win-x86-librw_d3d9-mss", "win-x86-librw_gl3_glfw-mss", - "win-x86-RW33_d3d8-oal", + "win-x86-RW34_d3d8-oal", "win-x86-librw_d3d9-oal", "win-x86-librw_gl3_glfw-oal", "win-amd64-librw_d3d9-oal", @@ -160,7 +160,7 @@ project "librw" includedirs { "/usr/local/include" } libdirs { "/usr/local/lib" } - filter "platforms:*RW33*" + filter "platforms:*RW34*" flags { "ExcludeFromBuild" } filter {} end @@ -169,14 +169,15 @@ local function addSrcFiles( prefix ) return prefix .. "/*cpp", prefix .. "/*.h", prefix .. "/*.c", prefix .. "/*.ico", prefix .. "/*.rc" end -project "re3" +project "reVC" kind "WindowedApp" - targetname "re3" + targetname "reVC" targetdir "bin/%{cfg.platform}/%{cfg.buildcfg}" + defines { "MIAMI" } files { addSrcFiles("src") } files { addSrcFiles("src/animation") } - files { addSrcFiles("src/audio") }
+ files { addSrcFiles("src/audio") } files { addSrcFiles("src/audio/eax") } files { addSrcFiles("src/audio/oal") } files { addSrcFiles("src/control") } @@ -198,7 +199,7 @@ project "re3" includedirs { "src" } includedirs { "src/animation" } - includedirs { "src/audio" }
+ includedirs { "src/audio" } includedirs { "src/audio/eax" } includedirs { "src/audio/oal" } includedirs { "src/control" } @@ -240,10 +241,10 @@ project "re3" filter "platforms:*oal" defines { "AUDIO_OAL" } - + filter {} - if(os.getenv("GTA_III_RE_DIR")) then - setpaths("$(GTA_III_RE_DIR)/", "%(cfg.buildtarget.name)", "") + if(os.getenv("GTA_VC_RE_DIR")) then + setpaths("$(GTA_VC_RE_DIR)/", "%(cfg.buildtarget.name)", "") end filter "platforms:win*" @@ -281,11 +282,11 @@ project "re3" links { "opusfile" } end - filter "platforms:*RW33*" + filter "platforms:*RW34*" staticruntime "on" includedirs { "sdk/rwsdk/include/d3d8" } libdirs { "sdk/rwsdk/lib/d3d8/release" } - links { "rwcore", "rpworld", "rpmatfx", "rpskin", "rphanim", "rtbmp", "rtquat", "rtcharse" } + links { "rwcore", "rpworld", "rpmatfx", "rpskin", "rphanim", "rtbmp", "rtquat", "rtanim", "rtcharse", "rpanisot" } defines { "RWLIBS" } linkoptions "/SECTION:_rwcseg,ER!W /MERGE:_rwcseg=.text" |