Skip to content

Commit

Permalink
Generate debug pdbs on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
PetteriAimonen committed Apr 25, 2022
1 parent 70c532e commit d550bf8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/windows_binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,10 @@ jobs:
with:
path: focus-stack/distrib/*.zip
name: Focus-stack Windows binary

- name: Upload debug symbols
uses: actions/upload-artifact@v2
with:
path: focus-stack/build/*.pdb
name: Focus-stack Windows debug symbols

2 changes: 1 addition & 1 deletion Makefile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Finally, type nmake -f Makefile.windows

CXX = cl
CXXFLAGS = /O2 /EHsc /W2 /D_USE_MATH_DEFINES
CXXFLAGS = /O2 /EHsc /W2 /D_USE_MATH_DEFINES /Zi

# Path to OpenCV, you may need to edit these if your version is different
# They can also be set on nmake command line.
Expand Down

0 comments on commit d550bf8

Please sign in to comment.