1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

MSVC: attempt to get build with pdb

This commit is contained in:
Andrii Danylchenko 2023-12-03 20:20:59 +02:00
parent ea7278f79c
commit b238796fee
2 changed files with 13 additions and 0 deletions

View File

@ -279,6 +279,14 @@ jobs:
name: ${{ env.VCMI_PACKAGE_FILE_NAME }} - ${{ matrix.platform }} name: ${{ env.VCMI_PACKAGE_FILE_NAME }} - ${{ matrix.platform }}
path: | path: |
${{ env.ANDROID_APK_PATH }} ${{ env.ANDROID_APK_PATH }}
- name: Symbols
if: ${{ matrix.platform == 'msvc' }}
uses: actions/upload-artifact@v3
with:
name: ${{ env.VCMI_PACKAGE_FILE_NAME }} - ${{ matrix.platform }} - symbols
path: |
${{github.workspace}}/**/*.pdb
- name: Android JNI ${{matrix.platform}} - name: Android JNI ${{matrix.platform}}
if: ${{ startsWith(matrix.platform, 'android') && github.ref == 'refs/heads/master' }} if: ${{ startsWith(matrix.platform, 'android') && github.ref == 'refs/heads/master' }}

View File

@ -715,6 +715,11 @@ endif(WIN32)
# Packaging section # # Packaging section #
####################################### #######################################
if(MSVC)
SET(CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION ${BIN_DIR})
Include(InstallRequiredSystemLibraries)
endif()
set(CPACK_PACKAGE_VERSION_MAJOR ${VCMI_VERSION_MAJOR}) set(CPACK_PACKAGE_VERSION_MAJOR ${VCMI_VERSION_MAJOR})
set(CPACK_PACKAGE_VERSION_MINOR ${VCMI_VERSION_MINOR}) set(CPACK_PACKAGE_VERSION_MINOR ${VCMI_VERSION_MINOR})
set(CPACK_PACKAGE_VERSION_PATCH ${VCMI_VERSION_PATCH}) set(CPACK_PACKAGE_VERSION_PATCH ${VCMI_VERSION_PATCH})