Skip to content

Commit f95261d

Browse files
committed
windows installer: add shared libraries to the install process
1 parent b1e54dc commit f95261d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

tools/installer/setup.nsi

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,27 @@ Section "Core App" CoreApp
124124

125125
; install dynamic libraries
126126
SetOutPath "$INSTDIR"
127+
128+
; install oopetris-* core libraries
129+
File "${PROJECT_BUILD_DIR}\src\libs\core\oopetris_core-0.dll"
130+
File "${PROJECT_BUILD_DIR}\src\libs\recordings\oopetris_recordings-0.dll"
131+
File "${PROJECT_BUILD_DIR}\src\oopetris_graphics-0.dll"
132+
133+
; install subprojects / external libraries
134+
File "${PROJECT_BUILD_DIR}\subprojects\SDL2-2.30.6\SDL2-6.dll"
135+
File "${PROJECT_BUILD_DIR}\subprojects\fmt-11.0.2\fmt.dll"
136+
File "${PROJECT_BUILD_DIR}\subprojects\SDL2_ttf-2.20.1\sdl2_ttf.dll"
137+
File "${PROJECT_BUILD_DIR}\subprojects\freetype-2.13.3\freetype-6.dll"
138+
File "${PROJECT_BUILD_DIR}\subprojects\SDL2_image-2.6.3\sdl2image.dll"
139+
File "${PROJECT_BUILD_DIR}\subprojects\libpng-1.6.44\png16-16.dll"
140+
File "${PROJECT_BUILD_DIR}\subprojects\SDL2_mixer-2.6.2\sdl2mixer.dll"
141+
File "${PROJECT_BUILD_DIR}\subprojects\libvorbis-1.3.7\lib\vorbisfile-3.dll"
142+
File "${PROJECT_BUILD_DIR}\subprojects\libvorbis-1.3.7\lib\vorbis-0.dll"
143+
File "${PROJECT_BUILD_DIR}\subprojects\libogg-1.3.5\src\ogg.dll"
144+
File "${PROJECT_BUILD_DIR}\subprojects\flac-1.4.3\src\libFLAC\FLAC-8.dll"
145+
File "${PROJECT_BUILD_DIR}\subprojects\openssl-3.0.8\crypto.dll"
146+
File "${PROJECT_BUILD_DIR}\subprojects\openssl-3.0.8\ssl.dll"
147+
File "${PROJECT_BUILD_DIR}\subprojects\nativefiledialog-extended-1.2.1\src\nativefiledialog-extended.dll"
127148
File "${PROJECT_SOURCE_DIR}\subprojects\discord_game_sdk-3.2.1\lib\x86_64\discord_game_sdk.dll"
128149

129150
; install default settings (DO NOT Override)

0 commit comments

Comments
 (0)