-
Notifications
You must be signed in to change notification settings - Fork 2
/
genie.lua
99 lines (81 loc) · 1.27 KB
/
genie.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
--
local BUILD_DIR = path.getabsolute("./build")
local SDL2_include = path.getabsolute("./external/SDL2-2.0.20/include")
local SDL2_libdir = path.getabsolute("./external/SDL2-2.0.20/lib/x64")
solution "0xed solution"
location(BUILD_DIR)
targetdir(BUILD_DIR)
configurations {
"Debug",
"Release"
}
platforms {
"x64"
}
language "C++"
configuration {"Debug"}
targetsuffix "_dbg"
flags {
"Symbols"
}
defines {
"DEBUG",
"CONF_DEBUG"
}
configuration {"Release"}
flags {
"Optimize"
}
defines {
"NDEBUG",
"CONF_RELEASE"
}
configuration { "qbs" }
targetdir("../build")
configuration {}
includedirs {
"src",
SDL2_include,
}
libdirs {
SDL2_libdir
}
links {
"user32",
"shell32",
"winmm",
"ole32",
"oleaut32",
"imm32",
"version",
"ws2_32",
"advapi32",
"comdlg32", -- GetOpenFileName
"gdi32",
"glu32",
"opengl32",
"SDL2",
}
flags {
"NoExceptions",
"NoRTTI",
"EnableSSE",
"EnableSSE2",
"EnableAVX",
"EnableAVX2",
"Cpp14"
}
defines {
}
-- disable exception related warnings
buildoptions{ "/wd4577", "/wd4530" }
project "0xed"
kind "WindowedApp"
--kind "ConsoleApp"
configuration {}
files {
"src/**.h",
"src/**.c",
"src/**.cpp",
"src/0xed.rc",
}