summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-22 17:00:18 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-22 17:01:09 +0200
commite858314a9f1c0adb0a8c2ec2dd1536e111932650 (patch)
treebd0b284bb62511623e7380ec32a1f3261e28606a /premake5.lua
parentfixes for CPhysical and friends (diff)
downloadre3-e858314a9f1c0adb0a8c2ec2dd1536e111932650.tar
re3-e858314a9f1c0adb0a8c2ec2dd1536e111932650.tar.gz
re3-e858314a9f1c0adb0a8c2ec2dd1536e111932650.tar.bz2
re3-e858314a9f1c0adb0a8c2ec2dd1536e111932650.tar.lz
re3-e858314a9f1c0adb0a8c2ec2dd1536e111932650.tar.xz
re3-e858314a9f1c0adb0a8c2ec2dd1536e111932650.tar.zst
re3-e858314a9f1c0adb0a8c2ec2dd1536e111932650.zip
Diffstat (limited to '')
-rw-r--r--premake5.lua24
1 files changed, 19 insertions, 5 deletions
diff --git a/premake5.lua b/premake5.lua
index c8494884..79b8db64 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -51,6 +51,9 @@ workspace "re3"
"win-x86-RW33_d3d8-mss",
"win-x86-librw_d3d9-mss",
"win-x86-librw_gl3_glfw-mss",
+ "win-x86-RW33_d3d8-oal",
+ "win-x86-librw_d3d9-oal",
+ "win-x86-librw_gl3_glfw-oal",
}
filter { "system:linux" }
@@ -183,11 +186,23 @@ project "re3"
includedirs { "src/extras" }
includedirs { "eax" }
- includedirs { "milessdk/include" }
includedirs { "eax" }
-
- libdirs { "milessdk/lib" }
+ filter "platforms:*mss"
+ defines { "AUIOD_MSS" }
+ includedirs { "milessdk/include" }
+ libdirs { "milessdk/lib" }
+
+ filter "platforms:*oal"
+ defines { "AUIOD_OAL" }
+ includedirs { "openal-soft/include" }
+ includedirs { "libsndfile/include" }
+ includedirs { "mpg123/include" }
+ libdirs { "openal-soft/libs/Win32" }
+ libdirs { "libsndfile/lib" }
+ libdirs { "mpg123/lib" }
+
+ filter {}
if(os.getenv("GTA_III_RE_DIR")) then
setpaths("$(GTA_III_RE_DIR)/", "%(cfg.buildtarget.name)", "")
end
@@ -199,8 +214,7 @@ project "re3"
characterset ("MBCS")
targetextension ".exe"
- filter "platforms:linux*"
- defines { "OPENAL" }
+ filter "platforms:linux*oal"
links { "openal", "mpg123", "sndfile", "pthread" }
filter "platforms:*RW33*"