-
Notifications
You must be signed in to change notification settings - Fork 3
/
premake4.lua
41 lines (33 loc) · 1.01 KB
/
premake4.lua
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
solution "Blizzard"
location "build"
language "C++"
objdir "obj"
configurations { "Debug", "Release" }
configuration "windows"
defines { "WIN32", "_WIN32" }
configuration "bsd"
includedirs { "/usr/local/include", "/opt/local/include" }
libdirs { "/usr/local/lib", "/opt/local/lib" }
configuration "not vs*"
buildoptions { "-Wall", "-fexceptions", "-fno-strict-aliasing", "-Wno-multichar" }
configuration "vs*"
buildoptions { "/wd4996" }
defines { "_CRT_SECURE_NO_WARNINGS", "_CRT_SECURE_NO_DEPRECATE" }
configuration "Debug"
defines { "_DEBUG" }
flags { "Symbols" }
targetdir "bin/Debug"
configuration "Release"
flags { "Optimize" }
targetdir "bin/Release"
if os.is("windows") then
include "zlib"
include "sqlite3"
include "libevent"
include "mxml"
end
include "common"
include "interface"
include "blitzd"
include "baald"
include "shald"