-
-
Notifications
You must be signed in to change notification settings - Fork 546
Expand file tree
/
Copy pathpremake5.lua
More file actions
69 lines (60 loc) · 1.89 KB
/
premake5.lua
File metadata and controls
69 lines (60 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
project "Client Deathmatch"
language "C++"
kind "SharedLib"
targetname "client"
targetdir(buildpath("mods/deathmatch"))
clangtidy "On"
pchheader "StdInc.h"
pchsource "StdInc.cpp"
defines { "LUNASVG_BUILD", "LUA_USE_APICHECK", "SDK_WITH_BCRYPT" }
links {
"Lua", "pcre", "json-c", "ws2_32", "portaudio", "zlib", "cryptopp", "libspeex", "blowfish_bcrypt", "lunasvg",
"../../../vendor/bass/lib/bass",
"../../../vendor/bass/lib/bass_fx",
"../../../vendor/bass/lib/bassmix",
"../../../vendor/bass/lib/tags"
}
vpaths {
["Headers/*"] = {"**.h", "../../../Shared/mods/deathmatch/**.h", "../../**.h"},
["Sources/*"] = {"**.cpp", "../../../Shared/mods/deathmatch/**.cpp", "../../../Shared/**.cpp", "../../../vendor/**.cpp"},
["*"] = "premake5.lua"
}
filter "system:windows"
includedirs { "../../../vendor/sparsehash/src/windows" }
linkoptions { "/SAFESEH:NO" }
filter {}
includedirs {
"../../../Shared/sdk",
".",
"./logic",
"../../sdk/",
"../../../vendor/pthreads/include",
"../../../vendor/bochs",
"../../../vendor/bass",
"../../../vendor/libspeex",
"../../../vendor/zlib",
"../../../vendor/pcre",
"../../../vendor/json-c",
"../../../vendor/lua/src",
"../../../Shared/mods/deathmatch/logic",
"../../../Shared/animation",
"../../../vendor/sparsehash/src/",
"../../../vendor/lunasvg/include"
}
files {
"premake5.lua",
"**.h",
"**.cpp",
"../../../Shared/mods/deathmatch/logic/**.cpp",
"../../../Shared/mods/deathmatch/logic/**.h",
"../../../Shared/animation/CEasingCurve.cpp",
"../../../Shared/animation/CPositionRotationAnimation.cpp",
-- Todo: Replace these two by using the CryptoPP functions instead
"../../../vendor/bochs/bochs_internal/bochs_crc32.cpp"
}
filter "system:windows"
buildoptions { "-Zm180" }
filter "architecture:not x86"
flags { "ExcludeFromBuild" }
filter "system:not windows"
flags { "ExcludeFromBuild" }