mirror of https://github.com/x64dbg/TitanEngine
do not generate debug info in release mode
This commit is contained in:
parent
0e95295416
commit
aad32594ab
|
|
@ -151,12 +151,12 @@ INT_PTR CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
|||
|
||||
for(LRESULT i=0; i<cnt; i++) {
|
||||
LRESULT stringLength = SendMessageW(hLogBox, LB_GETTEXTLEN, i, 0);
|
||||
copyLength += stringLength + 2;
|
||||
copyLength += (int)stringLength + 2;
|
||||
|
||||
copy = (WCHAR *)realloc(copy, copyLength * sizeof(WCHAR));
|
||||
if (copy)
|
||||
{
|
||||
copy[copyLength - stringLength - 2] = 0;
|
||||
copy[copyLength - (int)stringLength - 2] = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -126,10 +126,11 @@
|
|||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<AdditionalDependencies>$(OutDir)TitanEngine.lib;comdlg32.lib;user32.lib</AdditionalDependencies>
|
||||
<GenerateMapFile>true</GenerateMapFile>
|
||||
</Link>
|
||||
<Manifest>
|
||||
<AdditionalManifestFiles>manifest.xml</AdditionalManifestFiles>
|
||||
|
|
@ -147,10 +148,11 @@
|
|||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<AdditionalDependencies>$(OutDir)TitanEngine.lib;comdlg32.lib;user32.lib</AdditionalDependencies>
|
||||
<GenerateMapFile>true</GenerateMapFile>
|
||||
</Link>
|
||||
<Manifest>
|
||||
<AdditionalManifestFiles>manifest.xml</AdditionalManifestFiles>
|
||||
|
|
|
|||
Loading…
Reference in New Issue