Skip to content

Commit 104f73b

Browse files
madebricculus
authored andcommitted
Add scripts to create release artifacts for sources/MSVC/MingW/Android
1 parent 3663e51 commit 104f73b

25 files changed

Lines changed: 3343 additions & 0 deletions

.github/workflows/release.yml

Lines changed: 636 additions & 0 deletions
Large diffs are not rendered by default.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/dist
12
cmake-build
23
CMakeFiles/
34
CMakeCache.txt

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,9 @@ if(PHYSFS_INSTALL)
285285
NAMESPACE PhysFS::
286286
)
287287
export(TARGETS physfs-shared NAMESPACE PhysFS:: FILE PhysFS-shared-targets.cmake)
288+
if(MSVC)
289+
SDL_install_pdb(physfs-shared "${CMAKE_INSTALL_BINDIR}")
290+
endif()
288291
endif()
289292
if(TARGET physfs-static)
290293
install(TARGETS physfs-static EXPORT physfs-static-exports
@@ -298,6 +301,9 @@ if(PHYSFS_INSTALL)
298301
NAMESPACE PhysFS::
299302
)
300303
export(TARGETS physfs-static NAMESPACE PhysFS:: FILE PhysFS-static-targets.cmake)
304+
if(MSVC)
305+
SDL_install_pdb(physfs-static "${CMAKE_INSTALL_LIBDIR}")
306+
endif()
301307
endif()
302308
if(TARGET test_physfs)
303309
install(TARGETS test_physfs RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})

0 commit comments

Comments
 (0)