make it easy to spot pesky debug builds
This commit is contained in:
@@ -12,7 +12,7 @@ set /P GIT_HASH=<%DIR_RELEASE%\.git_hash
|
|||||||
set "GIT_HASH=%GIT_HASH:~0,8%"
|
set "GIT_HASH=%GIT_HASH:~0,8%"
|
||||||
|
|
||||||
if "%1" == "debug" (
|
if "%1" == "debug" (
|
||||||
set CL=/MT /Od /Zi /RTC1 /Fdprogmgr.pdb /fsanitize=address /DUNICODE /DPROGMGR_DEBUG /DPROGMGR_GIT_HASH="%GIT_HASH%"
|
set CL=/MT /Od /Zi /RTC1 /Fdprogmgr.pdb /fsanitize=address /DUNICODE /D_DEBUG /DPROGMGR_DEBUG /DPROGMGR_GIT_HASH="%GIT_HASH%"
|
||||||
set LINK=/DEBUG
|
set LINK=/DEBUG
|
||||||
) else (
|
) else (
|
||||||
set CL=/O1 /GS- /DUNICODE /DNDEBUG /DPROGMGR_RELEASE /DPROGMGR_GIT_HASH="%GIT_HASH%"
|
set CL=/O1 /GS- /DUNICODE /DNDEBUG /DPROGMGR_RELEASE /DPROGMGR_GIT_HASH="%GIT_HASH%"
|
||||||
|
|||||||
BIN
progmgr/icons/progmgrd.ico
Normal file
BIN
progmgr/icons/progmgrd.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
BIN
progmgr/icons/src/progmgrd.ico
Normal file
BIN
progmgr/icons/src/progmgrd.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
BIN
progmgr/icons/src/progmgrd.pdn
Normal file
BIN
progmgr/icons/src/progmgrd.pdn
Normal file
Binary file not shown.
Binary file not shown.
@@ -18,6 +18,11 @@
|
|||||||
|
|
||||||
/* Variables */
|
/* Variables */
|
||||||
// Global
|
// Global
|
||||||
|
#ifdef _DEBUG
|
||||||
|
BOOL bIsDebugBuild = TRUE;
|
||||||
|
#else
|
||||||
|
BOOL bIsDebugBuild = FALSE;
|
||||||
|
#endif
|
||||||
BOOL bIsDefaultShell = FALSE;
|
BOOL bIsDefaultShell = FALSE;
|
||||||
// Handles
|
// Handles
|
||||||
HINSTANCE hAppInstance;
|
HINSTANCE hAppInstance;
|
||||||
@@ -27,7 +32,7 @@ HWND hWndProgMgr = NULL;
|
|||||||
HICON hProgMgrIcon = NULL;
|
HICON hProgMgrIcon = NULL;
|
||||||
HICON hGroupIcon = NULL;
|
HICON hGroupIcon = NULL;
|
||||||
// Global Strings
|
// Global Strings
|
||||||
WCHAR szAppTitle[32];
|
WCHAR szAppTitle[64];
|
||||||
WCHAR szProgMgr[] = L"progmgr";
|
WCHAR szProgMgr[] = L"progmgr";
|
||||||
WCHAR szWebsite[64];
|
WCHAR szWebsite[64];
|
||||||
WCHAR szClass[16];
|
WCHAR szClass[16];
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ extern HWND hWndProgMgr;
|
|||||||
extern HICON hProgMgrIcon;
|
extern HICON hProgMgrIcon;
|
||||||
extern HICON hGroupIcon;
|
extern HICON hGroupIcon;
|
||||||
// Strings
|
// Strings
|
||||||
extern WCHAR szAppTitle[32];
|
extern WCHAR szAppTitle[64];
|
||||||
extern WCHAR szProgMgr[];
|
extern WCHAR szProgMgr[];
|
||||||
extern WCHAR szWebsite[64];
|
extern WCHAR szWebsite[64];
|
||||||
extern WCHAR szClass[16];
|
extern WCHAR szClass[16];
|
||||||
|
|||||||
@@ -104,6 +104,9 @@
|
|||||||
<MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
<MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
||||||
<ManifestFile>$(IntDir)$(TargetName)$(TargetExt).manifest</ManifestFile>
|
<ManifestFile>$(IntDir)$(TargetName)$(TargetExt).manifest</ManifestFile>
|
||||||
</Link>
|
</Link>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ResourceCompile>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
@@ -138,6 +141,9 @@
|
|||||||
<MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
<MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
||||||
<ManifestFile>$(IntDir)$(TargetName)$(TargetExt).manifest</ManifestFile>
|
<ManifestFile>$(IntDir)$(TargetName)$(TargetExt).manifest</ManifestFile>
|
||||||
</Link>
|
</Link>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ResourceCompile>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
|
|||||||
Binary file not shown.
@@ -21,7 +21,11 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
|||||||
|
|
||||||
/* Icon Library */
|
/* Icon Library */
|
||||||
// Primary
|
// Primary
|
||||||
|
#ifndef _DEBUG
|
||||||
IDI_PROGMGR ICON icons\progmgr.ico
|
IDI_PROGMGR ICON icons\progmgr.ico
|
||||||
|
#else
|
||||||
|
IDI_PROGMGR ICON icons\progmgrd.ico
|
||||||
|
#endif
|
||||||
IDI_PROGGRP ICON icons\pmgroup.ico
|
IDI_PROGGRP ICON icons\pmgroup.ico
|
||||||
IDI_PROGITM ICON icons\pmitem.ico
|
IDI_PROGITM ICON icons\pmitem.ico
|
||||||
IDI_COMMON ICON icons\common.ico
|
IDI_COMMON ICON icons\common.ico
|
||||||
|
|||||||
Reference in New Issue
Block a user