don't use debug CRTs
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
AdditionalIncludeDirectories=".;lua-5.0\include"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;DEBUG;_WINDOWS;WINDOWS;SMPACKAGE"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
RuntimeLibrary="2"
|
||||
UsePrecompiledHeader="2"
|
||||
PrecompiledHeaderThrough="global.h"
|
||||
PrecompiledHeaderFile=".\Debug-smpackage/smpackage.pch"
|
||||
@@ -90,7 +90,7 @@
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories=".;"
|
||||
AdditionalIncludeDirectories=".;lua-5.0\include"
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WINDOWS;SMPACKAGE"
|
||||
StringPooling="TRUE"
|
||||
RuntimeLibrary="2"
|
||||
|
||||
@@ -14,6 +14,12 @@
|
||||
|
||||
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
||||
|
||||
// prevent windows includes from pulling in debug CRTs:
|
||||
#if defined(_DEBUG)
|
||||
#undef _DEBUG
|
||||
#define RESTORE_DEBUG
|
||||
#endif
|
||||
|
||||
#include <afxwin.h> // MFC core and standard components
|
||||
#include <afxext.h> // MFC extensions
|
||||
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
|
||||
@@ -21,6 +27,11 @@
|
||||
#include <afxcmn.h> // MFC support for Windows Common Controls
|
||||
#endif // _AFX_NO_AFXCMN_SUPPORT
|
||||
|
||||
#if defined(RESTORE_DEBUG)
|
||||
#undef RESTORE_DEBUG
|
||||
#define _DEBUG
|
||||
#endif
|
||||
|
||||
#include <vector>
|
||||
using namespace std;
|
||||
|
||||
|
||||
@@ -38,10 +38,20 @@
|
||||
|
||||
#define ZIP_ARCHIVE_MFC
|
||||
|
||||
#if defined(_DEBUG)
|
||||
#undef _DEBUG
|
||||
#define RESTORE_DEBUG
|
||||
#endif
|
||||
|
||||
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
||||
#include <afx.h>
|
||||
#include <afxwin.h>
|
||||
|
||||
#if defined(RESTORE_DEBUG)
|
||||
#undef RESTORE_DEBUG
|
||||
#define _DEBUG
|
||||
#endif
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
Optimization="0"
|
||||
PreprocessorDefinitions="_DEBUG;ZLIB_DLL;WIN32;_WINDOWS;ZIP_ARCHIVE_MFC_PROJ;PKZIP_BUG_WORKAROUND"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
RuntimeLibrary="2"
|
||||
UsePrecompiledHeader="2"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Debug/ZipArchive.pch"
|
||||
|
||||
Reference in New Issue
Block a user