|
18 | 18 | !error "PROJECT_BUILD_DIR not specified" |
19 | 19 | !endif |
20 | 20 |
|
| 21 | +!ifndef DYNAMIC_LIBRARIES_DIR |
| 22 | +!error "DYNAMIC_LIBRARIES_DIR not specified" |
| 23 | +!endif |
| 24 | + |
21 | 25 | !ifndef NAME |
22 | 26 | !error "NAME not specified" |
23 | 27 | !endif |
@@ -125,26 +129,13 @@ Section "Core App" CoreApp |
125 | 129 | ; install dynamic libraries |
126 | 130 | SetOutPath "$INSTDIR" |
127 | 131 |
|
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 | + ; install all dyanmic libraries |
| 133 | + File /r "${DYNAMIC_LIBRARIES_DIR}\*.dll" |
132 | 134 |
|
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" |
| 135 | + ; TODO: this need to be installed automatically |
136 | 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 | 137 | 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 | 138 | 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" |
148 | 139 | File "${PROJECT_SOURCE_DIR}\subprojects\discord_game_sdk-3.2.1\lib\x86_64\discord_game_sdk.dll" |
149 | 140 |
|
150 | 141 | ; install default settings (DO NOT Override) |
|
0 commit comments