diff options
author | Steve Holme <steve_holme@hotmail.com> | 2015-02-01 21:02:57 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2015-02-02 12:43:02 +0000 |
commit | f826bf37eadf6c3a7c1bc4eb7e42317863bf5b58 (patch) | |
tree | 59dd5267e111303efa7d1e17b10f2ff67336d0d6 /projects/Windows/VC7/src | |
parent | 564b7b6dd022cc8553caa657117171f46010514c (diff) |
build: Enabled DEBUGBUILD in Visual Studio debug builds
Defined the DEBUGBUILD pre-processor variable to allow extra logging,
which is particularly useful in debug builds, as we use this and Visual
Studio typically uses _DEBUG.
We could define DEBUBBUILD, in curl_setup.h, when _MSC_VER and _DEBUG is
defined but that would also affect the makefile based builds which we
probably don't want to do.
Diffstat (limited to 'projects/Windows/VC7/src')
-rw-r--r-- | projects/Windows/VC7/src/curlsrc.tmpl | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/projects/Windows/VC7/src/curlsrc.tmpl b/projects/Windows/VC7/src/curlsrc.tmpl index 56114fb43..cb152b5f8 100644 --- a/projects/Windows/VC7/src/curlsrc.tmpl +++ b/projects/Windows/VC7/src/curlsrc.tmpl @@ -169,7 +169,7 @@ AdditionalOptions="/EHsc " Optimization="0" AdditionalIncludeDirectories="$(ProgramFiles)\Microsoft Platform SDK\Include,..\..\..\..\include,..\..\..\..\lib,..\..\..\..\src" - PreprocessorDefinitions="_DEBUG;_CONSOLE;CURL_STATICLIB" + PreprocessorDefinitions="_DEBUG;_CONSOLE;DEBUGBUILD;CURL_STATICLIB" BasicRuntimeChecks="3" RuntimeLibrary="3" WarningLevel="3" @@ -220,7 +220,7 @@ AdditionalOptions="/EHsc " Optimization="0" AdditionalIncludeDirectories="$(ProgramFiles)\Microsoft Platform SDK\Include,..\..\..\..\include,..\..\..\..\lib,..\..\..\..\src" - PreprocessorDefinitions="_DEBUG;_CONSOLE;CURL_STATICLIB" + PreprocessorDefinitions="_DEBUG;_CONSOLE;DEBUGBUILD;CURL_STATICLIB" BasicRuntimeChecks="3" RuntimeLibrary="3" WarningLevel="3" @@ -271,7 +271,7 @@ AdditionalOptions="/EHsc " Optimization="0" AdditionalIncludeDirectories="$(ProgramFiles)\Microsoft Platform SDK\Include,..\..\..\..\include,..\..\..\..\lib,..\..\..\..\src" - PreprocessorDefinitions="_DEBUG;_CONSOLE" + PreprocessorDefinitions="_DEBUG;_CONSOLE;DEBUGBUILD" BasicRuntimeChecks="3" RuntimeLibrary="3" WarningLevel="3" @@ -322,7 +322,7 @@ AdditionalOptions="/EHsc " Optimization="0" AdditionalIncludeDirectories="$(ProgramFiles)\Microsoft Platform SDK\Include,..\..\..\..\include,..\..\..\..\lib,..\..\..\..\src" - PreprocessorDefinitions="_DEBUG;_CONSOLE;CURL_STATICLIB" + PreprocessorDefinitions="_DEBUG;_CONSOLE;DEBUGBUILD;CURL_STATICLIB" BasicRuntimeChecks="3" RuntimeLibrary="3" WarningLevel="3" @@ -569,7 +569,7 @@ AdditionalOptions="/EHsc " Optimization="0" AdditionalIncludeDirectories="$(ProgramFiles)\Microsoft Platform SDK\Include,..\..\..\..\include,..\..\..\..\lib,..\..\..\..\src" - PreprocessorDefinitions="_DEBUG;_CONSOLE;CURL_STATICLIB" + PreprocessorDefinitions="_DEBUG;_CONSOLE;DEBUGBUILD;CURL_STATICLIB" BasicRuntimeChecks="3" RuntimeLibrary="3" WarningLevel="3" @@ -620,7 +620,7 @@ AdditionalOptions="/EHsc " Optimization="0" AdditionalIncludeDirectories="$(ProgramFiles)\Microsoft Platform SDK\Include,..\..\..\..\include,..\..\..\..\lib,..\..\..\..\src" - PreprocessorDefinitions="_DEBUG;_CONSOLE;CURL_STATICLIB" + PreprocessorDefinitions="_DEBUG;_CONSOLE;DEBUGBUILD;CURL_STATICLIB" BasicRuntimeChecks="3" RuntimeLibrary="3" WarningLevel="3" @@ -671,7 +671,7 @@ AdditionalOptions="/EHsc " Optimization="0" AdditionalIncludeDirectories="$(ProgramFiles)\Microsoft Platform SDK\Include,..\..\..\..\include,..\..\..\..\lib,..\..\..\..\src" - PreprocessorDefinitions="_DEBUG;_CONSOLE" + PreprocessorDefinitions="_DEBUG;_CONSOLE;DEBUGBUILD" BasicRuntimeChecks="3" RuntimeLibrary="3" WarningLevel="3" @@ -820,7 +820,7 @@ AdditionalOptions="/EHsc " Optimization="0" AdditionalIncludeDirectories="$(ProgramFiles)\Microsoft Platform SDK\Include,..\..\..\..\include,..\..\..\..\lib,..\..\..\..\src" - PreprocessorDefinitions="_DEBUG;_CONSOLE" + PreprocessorDefinitions="_DEBUG;_CONSOLE;DEBUGBUILD" BasicRuntimeChecks="3" RuntimeLibrary="3" WarningLevel="3" @@ -871,7 +871,7 @@ AdditionalOptions="/EHsc " Optimization="0" AdditionalIncludeDirectories="$(ProgramFiles)\Microsoft Platform SDK\Include,..\..\..\..\include,..\..\..\..\lib,..\..\..\..\src" - PreprocessorDefinitions="_DEBUG;_CONSOLE;CURL_STATICLIB" + PreprocessorDefinitions="_DEBUG;_CONSOLE;DEBUGBUILD;CURL_STATICLIB" BasicRuntimeChecks="3" RuntimeLibrary="3" WarningLevel="3" @@ -971,7 +971,7 @@ AdditionalOptions="/EHsc " Optimization="0" AdditionalIncludeDirectories="$(ProgramFiles)\Microsoft Platform SDK\Include,..\..\..\..\include,..\..\..\..\lib,..\..\..\..\src" - PreprocessorDefinitions="_DEBUG;_CONSOLE" + PreprocessorDefinitions="_DEBUG;_CONSOLE;DEBUGBUILD" BasicRuntimeChecks="3" RuntimeLibrary="3" WarningLevel="3" @@ -1022,7 +1022,7 @@ AdditionalOptions="/EHsc " Optimization="0" AdditionalIncludeDirectories="$(ProgramFiles)\Microsoft Platform SDK\Include,..\..\..\..\include,..\..\..\..\lib,..\..\..\..\src" - PreprocessorDefinitions="_DEBUG;_CONSOLE" + PreprocessorDefinitions="_DEBUG;_CONSOLE;DEBUGBUILD" BasicRuntimeChecks="3" RuntimeLibrary="3" WarningLevel="3" @@ -1122,7 +1122,7 @@ AdditionalOptions="/EHsc " Optimization="0" AdditionalIncludeDirectories="$(ProgramFiles)\Microsoft Platform SDK\Include,..\..\..\..\include,..\..\..\..\lib,..\..\..\..\src" - PreprocessorDefinitions="_DEBUG;_CONSOLE;CURL_STATICLIB" + PreprocessorDefinitions="_DEBUG;_CONSOLE;DEBUGBUILD;CURL_STATICLIB" BasicRuntimeChecks="3" RuntimeLibrary="3" WarningLevel="3" |