-
Notifications
You must be signed in to change notification settings - Fork 0
/
units-vendor.lua
140 lines (134 loc) · 3.15 KB
/
units-vendor.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
StaticLibrary {
Name = "imgui",
Sources = {
"vendor/imgui-1.89.8/imgui.cpp",
"vendor/imgui-1.89.8/imgui_demo.cpp",
"vendor/imgui-1.89.8/imgui_draw.cpp",
"vendor/imgui-1.89.8/imgui_tables.cpp",
"vendor/imgui-1.89.8/imgui_widgets.cpp",
"vendor/imgui-1.89.8/backends/imgui_impl_dx12.cpp",
"vendor/imgui-1.89.8/backends/imgui_impl_win32.cpp"
},
Includes = {
"vendor/imgui-1.89.8",
"vendor/imgui-1.89.8/backends"
},
Propagate = {
Includes = {
"vendor/imgui-1.89.8",
"vendor/imgui-1.89.8/backends"
}
}
}
StaticLibrary {
Name = "zlib",
Sources = {
"vendor/zlib-1.2.13/adler32.c",
"vendor/zlib-1.2.13/compress.c",
"vendor/zlib-1.2.13/crc32.c",
"vendor/zlib-1.2.13/deflate.c",
"vendor/zlib-1.2.13/gzclose.c",
"vendor/zlib-1.2.13/gzlib.c",
"vendor/zlib-1.2.13/gzread.c",
"vendor/zlib-1.2.13/gzwrite.c",
"vendor/zlib-1.2.13/infback.c",
"vendor/zlib-1.2.13/inffast.c",
"vendor/zlib-1.2.13/inflate.c",
"vendor/zlib-1.2.13/inftrees.c",
"vendor/zlib-1.2.13/trees.c",
"vendor/zlib-1.2.13/uncompr.c",
"vendor/zlib-1.2.13/zutil.c"
},
Includes = {
"vendor/zlib-1.2.13"
},
Propagate = {
Includes = {
"vendor/zlib-1.2.13"
}
}
}
StaticLibrary {
Name = "png",
Depends = {
"zlib"
},
Sources = {
"vendor/lpng1639/png.c",
"vendor/lpng1639/pngerror.c",
"vendor/lpng1639/pngget.c",
"vendor/lpng1639/pngmem.c",
"vendor/lpng1639/pngpread.c",
"vendor/lpng1639/pngread.c",
"vendor/lpng1639/pngrio.c",
"vendor/lpng1639/pngrtran.c",
"vendor/lpng1639/pngrutil.c",
"vendor/lpng1639/pngset.c",
"vendor/lpng1639/pngtest.c",
"vendor/lpng1639/pngtrans.c",
"vendor/lpng1639/pngwio.c",
"vendor/lpng1639/pngwrite.c",
"vendor/lpng1639/pngwtran.c",
"vendor/lpng1639/pngwutil.c"
},
Includes = {
"vendor/lpng1639"
},
Defines = {
-- "PNG_USER_MEM_SUPPORTED"
},
Propagate = {
Includes = {
"vendor/lpng1639"
}
}
}
ExternalLibrary {
Name = "xxhash",
Includes = {
"vendor/xxHash-v0.8.2"
},
Propagate = {
Includes = {
"vendor/xxHash-v0.8.2"
}
}
}
ExternalLibrary {
Name = "windows",
Propagate = {
Defines = {},
Includes = {},
Libs = {
"user32.lib",
"ws2_32.lib",
"opengl32.lib",
"gdi32.lib",
"bcrypt.lib" -- BCryptGenRandom
}
}
}
ExternalLibrary {
Name = "d3d12",
Includes = {},
Propagate = {
Includes = {
"include/directx"
},
Libs = {
"d3d12.lib",
"dxgi.lib",
"dxguid.lib",
"D3DCompiler.lib"
}
}
}
ExternalLibrary {
Name = "dxmath",
Includes = {},
Propagate = {
Includes = {
"vendor/DirectXMath-dec2022/Inc"
}
}
}