mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
MSVC: attempt to get build with pdb
This commit is contained in:
parent
ea7278f79c
commit
b238796fee
8
.github/workflows/github.yml
vendored
8
.github/workflows/github.yml
vendored
@ -279,6 +279,14 @@ jobs:
|
||||
name: ${{ env.VCMI_PACKAGE_FILE_NAME }} - ${{ matrix.platform }}
|
||||
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}}
|
||||
if: ${{ startsWith(matrix.platform, 'android') && github.ref == 'refs/heads/master' }}
|
||||
|
@ -715,6 +715,11 @@ endif(WIN32)
|
||||
# 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_MINOR ${VCMI_VERSION_MINOR})
|
||||
set(CPACK_PACKAGE_VERSION_PATCH ${VCMI_VERSION_PATCH})
|
||||
|
Loading…
Reference in New Issue
Block a user