diff --git a/DebugView++/DebugView++.vcxproj b/DebugView++/DebugView++.vcxproj index 0e35ea7a..e370a494 100644 --- a/DebugView++/DebugView++.vcxproj +++ b/DebugView++/DebugView++.vcxproj @@ -84,6 +84,7 @@ true false true + false true @@ -225,11 +226,13 @@ Create release zip - $(ProjectDir)..\zip.exe -j $(TargetDir)/$(TargetName).zip $(TargetDir)DebugView++.exe $(TargetDir)DebugViewConsole.exe $(TargetDir)*.vsix + $(ProjectDir)..\createzip.bat $(TargetDir) - $(ComSpec) /c UpdateBuildNr.cmd version.h version.wxi - Update version numbers + + + + @@ -273,7 +276,7 @@ Create release zip - $(ProjectDir)..\zip.exe -j $(TargetDir)/$(TargetName).zip $(TargetDir)DebugView++.exe $(TargetDir)DebugViewConsole.exe $(TargetDir)*.vsix + $(ProjectDir)..\createzip.bat $(TargetDir) $(ComSpec) /c UpdateBuildNr.cmd version.h version.wxi diff --git a/DebugView++/version.h b/DebugView++/version.h index 3d52d9a1..35ae4a4b 100644 --- a/DebugView++/version.h +++ b/DebugView++/version.h @@ -1,2 +1,2 @@ -#define VERSION 1,7,0,97 -#define VERSION_STR "1.7.0.97" +#define VERSION 1,7,0,98 +#define VERSION_STR "1.7.0.98" diff --git a/clang-format.exe b/clang-format.exe new file mode 100644 index 00000000..43dda599 Binary files /dev/null and b/clang-format.exe differ diff --git a/createzip.bat b/createzip.bat new file mode 100644 index 00000000..366141b1 --- /dev/null +++ b/createzip.bat @@ -0,0 +1,34 @@ +@echo off +pushd %~dp0 + +setlocal + +if [%1] == [] ( + echo Usage: createzip ^ + goto exit +) + +set bin_dir=%1 + +:: paths can be absolute or relative to the location of this batch file +set zip_bin=.\zip.exe +set upx_bin=.\upx.exe + +if not exist %zip_bin% ( + echo %zip_bin% does not exist, zipfile creation skipped + goto exit +) + +if not exist %upx_bin% ( + echo %upx_bin% does not exist, exe compression skipped + goto zip +) + +:: UPX compresses executables in place about 40%, has no decompressing memory overhead and is extremely fast +%upx_bin% %bin_dir%\DebugView++.exe +%upx_bin% %bin_dir%\DebugViewConsole.exe + +:zip +%zip_bin% -j %bin_dir%\DebugView++.zip %bin_dir%\DebugView++.exe %bin_dir%\DebugViewConsole.exe %bin_dir%\*.vsix + +:exit \ No newline at end of file diff --git a/upx.exe b/upx.exe new file mode 100644 index 00000000..adf956c5 Binary files /dev/null and b/upx.exe differ