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:
parent
57bc8f9e40
commit
7ab7bc3a9d
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue