@@ -36,12 +36,16 @@ set(SIMPLEGRAPHIC_SOURCES
36
36
"engine/common/memtrak3.h"
37
37
"engine/common/streams.cpp"
38
38
"engine/common/streams.h"
39
+ "engine/core/core_compress.cpp"
40
+ "engine/core/core_compress.h"
39
41
"engine/core/core_config.cpp"
40
42
"engine/core/core_config.h"
41
43
"engine/core/core_image.cpp"
42
44
"engine/core/core_image.h"
43
45
"engine/core/core_main.cpp"
44
46
"engine/core/core_main.h"
47
+ "engine/core/core_tex_manipulation.cpp"
48
+ "engine/core/core_tex_manipulation.h"
45
49
"engine/core/core_video.cpp"
46
50
"engine/core/core_video.h"
47
51
"engine/render/r_font.cpp"
@@ -107,11 +111,17 @@ find_package(unofficial-angle CONFIG REQUIRED)
107
111
find_package (CURL CONFIG REQUIRED)
108
112
find_package (fmt CONFIG REQUIRED)
109
113
find_package (glfw3 CONFIG REQUIRED)
114
+ find_package (gli CONFIG REQUIRED)
110
115
find_package (LuaJIT REQUIRED)
116
+ find_package (Microsoft.GSL CONFIG REQUIRED)
117
+ find_package (PkgConfig REQUIRED)
111
118
find_package (re2 CONFIG REQUIRED)
119
+ find_package (sol2 CONFIG REQUIRED)
112
120
find_package (Threads REQUIRED)
121
+ find_package (zstd REQUIRED)
113
122
find_package (ZLIB REQUIRED)
114
123
124
+
115
125
add_library (imgui STATIC
116
126
dep/imgui/imconfig.h
117
127
dep/imgui/imgui.cpp
@@ -195,12 +205,16 @@ target_link_libraries(SimpleGraphic
195
205
unofficial::angle::libGLESv2
196
206
fmt::fmt
197
207
glfw
208
+ gli
198
209
glm::glm
199
210
imgui
200
211
LuaJIT::LuaJIT
212
+ Microsoft.GSL::GSL
201
213
re2::re2
214
+ sol2
202
215
Threads::Threads
203
216
ZLIB::ZLIB
217
+ zstd::libzstd_shared
204
218
)
205
219
206
220
install (FILES $<TARGET_RUNTIME_DLLS:SimpleGraphic> DESTINATION "." )
@@ -214,7 +228,7 @@ if (WIN32)
214
228
PATHS "${DEPS_DIR} " PATH_SUFFIXES "debug/bin" REQUIRED NO_DEFAULT_PATH)
215
229
find_file (ZLIB_DLL_DEBUG NAMES "zlibd1.dll"
216
230
PATHS "${DEPS_DIR} " PATH_SUFFIXES "debug/bin" REQUIRED NO_DEFAULT_PATH)
217
-
231
+
218
232
install (FILES
219
233
${LuaJIT_DLL_DEBUG}
220
234
${ZLIB_DLL_DEBUG}
@@ -226,8 +240,7 @@ if (WIN32)
226
240
find_file (LuaJIT_DLL_RELEASE NAMES "lua51.dll"
227
241
PATHS "${DEPS_DIR} " PATH_SUFFIXES "bin" REQUIRED NO_DEFAULT_PATH)
228
242
find_file (ZLIB_DLL_RELEASE NAMES "zlib1.dll"
229
- PATHS "${DEPS_DIR} " PATH_SUFFIXES "bin" REQUIRED NO_DEFAULT_PATH
230
- )
243
+ PATHS "${DEPS_DIR} " PATH_SUFFIXES "bin" REQUIRED NO_DEFAULT_PATH)
231
244
232
245
install (FILES
233
246
${LuaJIT_DLL_RELEASE}
0 commit comments