-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpremake5.lua
56 lines (46 loc) · 1012 Bytes
/
premake5.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
workspace "Overseer"
architecture "x86_64"
configurations
{
"Debug",
"Release",
}
IncludeDir = {}
IncludeDir["libanvil"] = "%{wks.location}/libanvil/include/"
IncludeDir["regex"] = "%{wks.location}/boostregex/include/"
IncludeDir["zlib"] = "%{wks.location}/zlib/"
project "Overseer"
kind "ConsoleApp"
language "C++"
cppdialect "C++17"
staticruntime "on"
targetdir ("%{wks.location}/build/")
objdir ("%{wks.location}/build-int/")
files {
"overseer/src/**.h",
"overseer/src/**.cpp",
"libanvil/**.cpp",
"boostregex/**.cpp",
"zlib/**.c",
}
excludes { "zlib/gun.c" }
links {
"LIBCMTD"
}
includedirs {
"src/",
"%{IncludeDir.libanvil}",
"%{IncludeDir.regex}",
"%{IncludeDir.zlib}",
}
filter "system:windows"
systemversion "latest"
filter "configurations:Debug"
defines "OSE_DEBUG"
runtime "Debug"
symbols "on"
optimize "off"
filter "configurations:Release"
defines "OSE_RELEASE"
runtime "Release"
optimize "on"