summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-05 19:40:27 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-05 19:40:27 +0200
commit52907088f931ac73c0cf4cae23b60d936e76e560 (patch)
tree38b31ca3ef7c1ce624e40b51dbf9c6ef154b3f51
parentRemove GTA_TRAIN, GTA_BRIDGE, GTA_ZONECULL (diff)
downloadre3-52907088f931ac73c0cf4cae23b60d936e76e560.tar
re3-52907088f931ac73c0cf4cae23b60d936e76e560.tar.gz
re3-52907088f931ac73c0cf4cae23b60d936e76e560.tar.bz2
re3-52907088f931ac73c0cf4cae23b60d936e76e560.tar.lz
re3-52907088f931ac73c0cf4cae23b60d936e76e560.tar.xz
re3-52907088f931ac73c0cf4cae23b60d936e76e560.tar.zst
re3-52907088f931ac73c0cf4cae23b60d936e76e560.zip
-rw-r--r--README.md2
-rw-r--r--premake5.lua50
2 files changed, 29 insertions, 23 deletions
diff --git a/README.md b/README.md
index 2affcc96..cffdbd1d 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
# re3
-[![Build status](https://ci.appveyor.com/api/projects/status/hyiwgegks122h8jg?svg=true)](https://ci.appveyor.com/project/aap/re3/branch/master)
+[![Build status](https://ci.appveyor.com/api/projects/status/hyiwgegks122h8jg/branch/master?svg=true)](https://ci.appveyor.com/project/aap/re3/branch/master)
<a href="https://discord.gg/jYpXxTm"><img src="https://img.shields.io/badge/discord-join-7289DA.svg?logo=discord&longCache=true&style=flat" /></a>
| Platform | Debug | Release |
|------------------|-------------|-------------|
diff --git a/premake5.lua b/premake5.lua
index 1c313a10..2bedf552 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -103,6 +103,10 @@ project "librw"
filter {}
end
+local function addSrcFiles( prefix )
+ return prefix .. "/*cpp", prefix .. "/*.h", prefix .. "/*.c", prefix .. "/*.ico", prefix .. "/*.aps", prefix .. "/*.rc"
+end
+
project "re3"
kind "WindowedApp"
targetname "re3"
@@ -112,27 +116,29 @@ project "re3"
linkoptions "/SAFESEH:NO"
- files { "src/*.*" }
- files { "src/animation/*.*" }
- files { "src/audio/*.*" }
- files { "src/control/*.*" }
- files { "src/core/*.*" }
- files { "src/entities/*.*" }
- files { "src/math/*.*" }
- files { "src/modelinfo/*.*" }
- files { "src/objects/*.*" }
- files { "src/peds/*.*" }
- files { "src/render/*.*" }
- files { "src/rw/*.*" }
- files { "src/save/*.*" }
- files { "src/skel/*.*" }
- files { "src/skel/win/*.*" }
- files { "src/skel/glfw/*.*" }
- files { "src/text/*.*" }
- files { "src/vehicles/*.*" }
- files { "src/weapons/*.*" }
- files { "src/extras/*.*" }
- files { "eax/*.*" }
+ files { addSrcFiles("src") }
+ files { addSrcFiles("src/animation") }
+ files { addSrcFiles("src/audio") }
+ files { addSrcFiles("src/audio/miles") }
+ files { addSrcFiles("src/audio/openal") }
+ files { addSrcFiles("src/control") }
+ files { addSrcFiles("src/core") }
+ files { addSrcFiles("src/entities") }
+ files { addSrcFiles("src/math") }
+ files { addSrcFiles("src/modelinfo") }
+ files { addSrcFiles("src/objects") }
+ files { addSrcFiles("src/peds") }
+ files { addSrcFiles("src/render") }
+ files { addSrcFiles("src/rw") }
+ files { addSrcFiles("src/save") }
+ files { addSrcFiles("src/skel") }
+ files { addSrcFiles("src/skel/win") }
+ files { addSrcFiles("src/skel/glfw") }
+ files { addSrcFiles("src/text") }
+ files { addSrcFiles("src/vehicles") }
+ files { addSrcFiles("src/weapons") }
+ files { addSrcFiles("src/extras") }
+ files { addSrcFiles("eax") }
includedirs { "src" }
includedirs { "src/animation" }
@@ -173,7 +179,7 @@ project "re3"
filter "platforms:*librw*"
defines { "LIBRW" }
- files { "src/fakerw/*.*" }
+ files { addSrcFiles("src/fakerw") }
includedirs { "src/fakerw" }
includedirs { Librw }
if(_OPTIONS["with-librw"]) then