diff options
author | Thomas Heller <theller@ctypes.org> | 2008-01-11 12:41:39 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2008-01-11 12:41:39 (GMT) |
commit | 348fd45ec4957e083192d14a8bbdf08c46dada49 (patch) | |
tree | ac87029b13c3b3de500eb9eec1ec6564d749d8c1 /PCbuild | |
parent | e3c3db59b522d18ed60b1e7b0be7d8e9eeec41a7 (diff) | |
download | cpython-348fd45ec4957e083192d14a8bbdf08c46dada49.zip cpython-348fd45ec4957e083192d14a8bbdf08c46dada49.tar.gz cpython-348fd45ec4957e083192d14a8bbdf08c46dada49.tar.bz2 |
The sqlite3 dll, when compiled in debug mode, must be linked with /MDd
to use the debug runtime library. Further, the dll will be named
sqlite3_d.dll.
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/_sqlite3.vcproj | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/PCbuild/_sqlite3.vcproj b/PCbuild/_sqlite3.vcproj index 646c545..6ab0bd4 100644 --- a/PCbuild/_sqlite3.vcproj +++ b/PCbuild/_sqlite3.vcproj @@ -54,11 +54,11 @@ <Tool Name="VCPreLinkEventTool" Description="Build sqlite3 libs and dll" - CommandLine="cd "$(sqlite3Dir)"
if not exist "$(OutDir)\sqlite3.dll" if exist $(PlatformName)\sqlite3.dll copy $(PlatformName)\sqlite3.dll "$(OutDir)"
if exist $(PlatformName)\sqlite3.lib exit 0
if not exist $(PlatformName) mkdir $(PlatformName)
cd $(PlatformName)
cl /DNO_TCL /Ox /Ob1 /Oi /GL /GF /FD /MD /Gy ..\*.c
link /INCREMENTAL:NO /NOLOGO /DLL /OPT:REF /OPT:ICF /def:..\sqlite3.def /dll /out:sqlite3.dll *.obj
if not exist "$(OutDir)\sqlite3.dll" copy sqlite3.dll "$(OutDir)"
" + CommandLine="cd "$(sqlite3Dir)"
if not exist "$(OutDir)\sqlite3_d.dll" if exist $(PlatformName)\sqlite3_d.dll copy $(PlatformName)\sqlite3_d.dll "$(OutDir)"
if exist $(PlatformName)\sqlite3_d.lib exit 0
if not exist $(PlatformName) mkdir $(PlatformName)
cd $(PlatformName)
cl /DNO_TCL /Ox /Ob1 /Oi /GL /GF /FD /MDd /Gy ..\*.c
link /INCREMENTAL:NO /NOLOGO /DLL /OPT:REF /OPT:ICF /def:..\sqlite3.def /dll /out:sqlite3_d.dll *.obj
if not exist "$(OutDir)\sqlite3_d.dll" copy sqlite3_d.dll "$(OutDir)"
" /> <Tool Name="VCLinkerTool" - AdditionalDependencies="$(sqlite3Dir)\$(PlatformName)\sqlite3.lib" + AdditionalDependencies="$(sqlite3Dir)\$(PlatformName)\sqlite3_d.lib" BaseAddress="0x1e180000" /> <Tool @@ -315,7 +315,7 @@ <Tool Name="VCPreLinkEventTool" Description="Build sqlite3 libs and dll" - CommandLine="cd "$(sqlite3Dir)"
if not exist "$(OutDir)\sqlite3.dll" if exist $(PlatformName)\sqlite3.dll copy $(PlatformName)\sqlite3.dll "$(OutDir)"
if exist $(PlatformName)\sqlite3.lib exit 0
if not exist $(PlatformName) mkdir $(PlatformName)
cd $(PlatformName)
cl /DNO_TCL /Ox /Ob1 /Oi /GL /GF /FD /MD /Gy ..\*.c
link /INCREMENTAL:NO /NOLOGO /DLL /OPT:REF /OPT:ICF /def:..\sqlite3.def /dll /out:sqlite3.dll *.obj
if not exist "$(OutDir)\sqlite3.dll" copy sqlite3.dll "$(OutDir)"
" + CommandLine="cd "$(sqlite3Dir)"
if not exist "$(OutDir)\sqlite3.dll" if exist $(PlatformName)\sqlite3.dll copy $(PlatformName)\sqlite3.dll "$(OutDir)"
if exist $(PlatformName)\sqlite3.lib exit 0
if not exist $(PlatformName) mkdir $(PlatformName)
cd $(PlatformName)
cl /DNO_TCL /Ox /Ob1 /Oi /GL /GF /FD /MDd /Gy ..\*.c
link /INCREMENTAL:NO /NOLOGO /DLL /OPT:REF /OPT:ICF /def:..\sqlite3.def /dll /out:sqlite3.dll *.obj
if not exist "$(OutDir)\sqlite3.dll" copy sqlite3.dll "$(OutDir)"
" /> <Tool Name="VCLinkerTool" @@ -447,7 +447,7 @@ <Tool Name="VCPreLinkEventTool" Description="Build sqlite3 libs and dll" - CommandLine="cd "$(sqlite3Dir)"
if not exist "$(OutDir)\sqlite3.dll" if exist $(PlatformName)\sqlite3.dll copy $(PlatformName)\sqlite3.dll "$(OutDir)"
if exist $(PlatformName)\sqlite3.lib exit 0
if not exist $(PlatformName) mkdir $(PlatformName)
cd $(PlatformName)
cl /DNO_TCL /Ox /Ob1 /Oi /GL /GF /FD /MD /Gy ..\*.c
link /INCREMENTAL:NO /NOLOGO /DLL /OPT:REF /OPT:ICF /def:..\sqlite3.def /dll /out:sqlite3.dll *.obj
if not exist "$(OutDir)\sqlite3.dll" copy sqlite3.dll "$(OutDir)"
" + CommandLine="cd "$(sqlite3Dir)"
if not exist "$(OutDir)\sqlite3.dll" if exist $(PlatformName)\sqlite3.dll copy $(PlatformName)\sqlite3.dll "$(OutDir)"
if exist $(PlatformName)\sqlite3.lib exit 0
if not exist $(PlatformName) mkdir $(PlatformName)
cd $(PlatformName)
cl /DNO_TCL /Ox /Ob1 /Oi /GL /GF /FD /MDd /Gy ..\*.c
link /INCREMENTAL:NO /NOLOGO /DLL /OPT:REF /OPT:ICF /def:..\sqlite3.def /dll /out:sqlite3.dll *.obj
if not exist "$(OutDir)\sqlite3.dll" copy sqlite3.dll "$(OutDir)"
" /> <Tool Name="VCLinkerTool" |