mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-01 23:35:41 +00:00
add bigobj flag
This commit is contained in:
parent
86ad28abdc
commit
687b4e4235
7
.github/workflows/cmake-windows.yml
vendored
7
.github/workflows/cmake-windows.yml
vendored
@ -44,13 +44,6 @@ jobs:
|
||||
name: BeamMP-Server.exe
|
||||
path: ${{github.workspace}}/build-windows/Release/BeamMP-Server.exe
|
||||
|
||||
- name: Configure CMake for debug
|
||||
shell: bash
|
||||
working-directory: ${{github.workspace}}/build-windows
|
||||
env:
|
||||
beammp_sentry_url: ${{ secrets.BEAMMP_SECRET_SENTRY_URL }}
|
||||
run: cmake $GITHUB_WORKSPACE -DSENTRY_BACKEND=breakpad -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE='${{ runner.workspace }}/b/vcpkg/scripts/buildsystems/vcpkg.cmake' -DVCPKG_TARGET_TRIPLET=x64-windows-static -DBEAMMP_SECRET_SENTRY_URL="$beammp_sentry_url" -DCMAKE_CXX_FLAGS="/bigobj"
|
||||
|
||||
- name: Build debug
|
||||
working-directory: ${{github.workspace}}/build-windows
|
||||
shell: bash
|
||||
|
@ -44,6 +44,10 @@ endif()
|
||||
set(SENTRY_BACKEND breakpad)
|
||||
add_subdirectory("deps/sentry-native")
|
||||
|
||||
if (MSVC)
|
||||
add_definitions(/bigobj)
|
||||
endif ()
|
||||
|
||||
message(STATUS "Setting compiler flags")
|
||||
if (WIN32)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user