cmake: Add -debug suffix to windows debug zips.

For the zip file containing the executable (and symbols for debug builds
on msvc) add the -debug suffix to the basename of the zip file for debug
builds.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Rafael Kitover 2020-03-15 20:44:22 +00:00
parent 57bc8f9e40
commit 7ab7bc3a9d
No known key found for this signature in database
GPG Key ID: 08AB596679D86240
1 changed files with 5 additions and 1 deletions

View File

@ -1052,7 +1052,11 @@ if(UPSTREAM_RELEASE AND WIN32)
endif()
endif()
set(exezip visualboyadvance-m-Win-${BITS}bit.zip)
if(CMAKE_BUILD_TYPE MATCHES Debug)
set(exezip visualboyadvance-m-Win-${BITS}bit-debug.zip)
else()
set(exezip visualboyadvance-m-Win-${BITS}bit.zip)
endif()
unset(pdb_file)