Fixed no debugsymbols for windows builds

upstream-master
Febbe 5 years ago committed by Fabian Keßler
parent 1608ebb796
commit 7fe0289195
  1. 4
      azure-pipelines/release.yml
  2. 2
      src/CMakeLists.txt

@ -85,8 +85,8 @@ stages:
steps:
- template: steps/build_windows.yml
parameters:
build_type: 'RelWithDebInfo'
cmake_flags: ''
build_type: 'MinSizeRel'
cmake_flags: '-DCMAKE_CXX_FLAGS=-g'
- script: |
set PATH=%PATH%;C:\msys64\usr\bin;C:\msys64\mingw64\bin"
C:\msys64\usr\bin\bash -lc "./build-setup.sh"

@ -17,8 +17,6 @@ add_subdirectory (xoj-preview-extractor)
add_definitions (-g -Wreturn-type -Wuninitialized -Wunused-value -Wunused-variable)
if (WIN32)
# optimize for size (the Windows .exe is really big)
set (xournalpp_LDFLAGS ${xournalpp_LDFLAGS} "-Os -s")
elseif (APPLE OR LINUX)
# Nothing to do for APPLE and linux
else ()

Loading…
Cancel
Save