[gmime] Build static library instead of DLL
- From: Jeffrey Stedfast <fejj src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gmime] Build static library instead of DLL
- Date: Mon, 1 Feb 2010 02:27:07 +0000 (UTC)
commit 8e6d22fd24e4004e7071dcb40c38b72b6d1666a4
Author: Jeffrey Stedfast <fejj gnome org>
Date: Sun Jan 31 21:27:59 2010 -0500
Build static library instead of DLL
build/vs2008/gmime.vcproj | 46 +++++++++++++-------------------------------
1 files changed, 14 insertions(+), 32 deletions(-)
---
diff --git a/build/vs2008/gmime.vcproj b/build/vs2008/gmime.vcproj
index 7e2470c..6d4046e 100644
--- a/build/vs2008/gmime.vcproj
+++ b/build/vs2008/gmime.vcproj
@@ -48,6 +48,7 @@
AdditionalIncludeDirectories=""..\..\"; "..\..\util""
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;GMIME_EXPORTS;HAVE_CONFIG_H;G_DISABLE_DEPRECATED;G_LOG_DOMAIN=\"GMime\""
MinimalRebuild="true"
+ ExceptionHandling="0"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
@@ -67,6 +68,7 @@
/>
<Tool
Name="VCLibrarianTool"
+ OutputFile="$(OutDir)\$(ProjectName)-2.6.lib"
/>
<Tool
Name="VCALinkTool"
@@ -114,6 +116,7 @@
AdditionalIncludeDirectories=""..\..\"; "..\..\util""
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;GMIME_EXPORTS;HAVE_CONFIG_H;G_DISABLE_DEPRECATED;G_LOG_DOMAIN=\"GMime\""
MinimalRebuild="true"
+ ExceptionHandling="0"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
@@ -133,6 +136,7 @@
/>
<Tool
Name="VCLibrarianTool"
+ OutputFile="$(OutDir)\$(ProjectName)-2.6.lib"
/>
<Tool
Name="VCALinkTool"
@@ -154,10 +158,11 @@
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)\gmime"
- ConfigurationType="2"
+ ConfigurationType="4"
>
<Tool
Name="VCPreBuildEventTool"
+ Description="Generating config.h ..."
CommandLine="if exist ..\..\config.h goto DONE_CONFIG_H
copy config-win32.h ..\..\config.h
:DONE_CONFIG_H
if exist ..\..\unistd.h goto DONE_UNISTD_H
copy unistd.h ..\..\unistd.h
:DONE_UNISTD_H
"
/>
<Tool
@@ -176,6 +181,7 @@
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""..\..\"; "..\..\util""
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;GMIME_EXPORTS;HAVE_CONFIG_H;G_DISABLE_DEPRECATED;G_LOG_DOMAIN=\"GMime\""
+ ExceptionHandling="0"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
@@ -193,23 +199,13 @@
Name="VCPreLinkEventTool"
/>
<Tool
- Name="VCLinkerTool"
- AdditionalDependencies="ws2_32.lib libiconv.lib glib-2.0.lib gobject-2.0.lib gio-2.0.lib zdll.lib"
- OutputFile="$(OutDir)\$(ProjectName)-2.6.dll"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
+ Name="VCLibrarianTool"
+ OutputFile="$(OutDir)\$(ProjectName)-2.6.lib"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
- Name="VCManifestTool"
- />
- <Tool
Name="VCXDCMakeTool"
/>
<Tool
@@ -219,9 +215,6 @@
Name="VCFxCopTool"
/>
<Tool
- Name="VCAppVerifierTool"
- />
- <Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
@@ -229,10 +222,11 @@
Name="Release|x64"
OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)\gmime"
- ConfigurationType="2"
+ ConfigurationType="4"
>
<Tool
Name="VCPreBuildEventTool"
+ Description="Generating config.h ..."
CommandLine="if exist ..\..\config.h goto DONE_CONFIG_H
copy config-win32.h ..\..\config.h
:DONE_CONFIG_H
if exist ..\..\unistd.h goto DONE_UNISTD_H
copy unistd.h ..\..\unistd.h
:DONE_UNISTD_H
"
/>
<Tool
@@ -252,6 +246,7 @@
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""..\..\"; "..\..\util""
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;GMIME_EXPORTS;HAVE_CONFIG_H;G_DISABLE_DEPRECATED;G_LOG_DOMAIN=\"GMime\""
+ ExceptionHandling="0"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
@@ -269,23 +264,13 @@
Name="VCPreLinkEventTool"
/>
<Tool
- Name="VCLinkerTool"
- AdditionalDependencies="ws2_32.lib libiconv.lib glib-2.0.lib gobject-2.0.lib gio-2.0.lib zdll.lib"
- OutputFile="$(OutDir)\$(ProjectName)-2.6.dll"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="17"
+ Name="VCLibrarianTool"
+ OutputFile="$(OutDir)\$(ProjectName)-2.6.lib"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
- Name="VCManifestTool"
- />
- <Tool
Name="VCXDCMakeTool"
/>
<Tool
@@ -295,9 +280,6 @@
Name="VCFxCopTool"
/>
<Tool
- Name="VCAppVerifierTool"
- />
- <Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]