TO BE REVIEWED.

Have sent an email for code review already but this check-in is urgent
to fix potential build breaks.

It contains the following changes:
- Change project settings for exception_handler.vcproj so that it links in
  crash_generation.lib so that the applications using exception_handler.lib
  do not have to link to crash_generation.lib. Make these changes for all 4
  build configurations.
- Change the test app project settings to not link to crash_generation.lib
  and only link to exception_handler.lib; again for all four configurations.

These changes help the applications that are currently linking to exception_handler.lib
in that they don't have to link to one more lib to get out-of-process dump generation
functionality. In fact, even if they do not use out-of-process dump generation functionality,
after those changes, the apps will need to link with crash_generation.lib anyway in order to
build correctly. This change will eliminate that need.



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@248 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
doshimun@gmail.com 2008-03-11 22:28:48 +00:00
parent a8b48f29dd
commit 5066fcdb42
3 changed files with 15 additions and 4 deletions

View File

@ -2,6 +2,9 @@
Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "exception_handler", "handler\exception_handler.vcproj", "{B55CA863-B374-4BAF-95AC-539E4FA4C90C}"
ProjectSection(ProjectDependencies) = postProject
{A820AF62-6239-4693-8430-4F516C1838F4} = {A820AF62-6239-4693-8430-4F516C1838F4}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "crash_report_sender", "sender\crash_report_sender.vcproj", "{9946A048-043B-4F8F-9E07-9297B204714C}"
EndProject

View File

@ -61,6 +61,8 @@
/>
<Tool
Name="VCLibrarianTool"
AdditionalDependencies="crash_generation.lib"
AdditionalLibraryDirectories="..\$(ConfigurationName)"
/>
<Tool
Name="VCALinkTool"
@ -122,6 +124,8 @@
/>
<Tool
Name="VCLibrarianTool"
AdditionalDependencies="crash_generation.lib"
AdditionalLibraryDirectories="..\$(ConfigurationName)"
/>
<Tool
Name="VCALinkTool"
@ -185,6 +189,8 @@
/>
<Tool
Name="VCLibrarianTool"
AdditionalDependencies="crash_generation.lib"
AdditionalLibraryDirectories="..\$(ConfigurationName)"
/>
<Tool
Name="VCALinkTool"
@ -246,6 +252,8 @@
/>
<Tool
Name="VCLibrarianTool"
AdditionalDependencies="crash_generation.lib"
AdditionalLibraryDirectories="..\$(ConfigurationName)"
/>
<Tool
Name="VCALinkTool"

View File

@ -62,7 +62,7 @@
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="crash_generation.lib exception_handler.lib"
AdditionalDependencies="exception_handler.lib"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\$(ConfigurationName)"
GenerateDebugInformation="true"
@ -139,7 +139,7 @@
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="crash_generation.lib exception_handler.lib"
AdditionalDependencies="exception_handler.lib"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\$(ConfigurationName)"
GenerateDebugInformation="true"
@ -220,7 +220,7 @@
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="crash_generation.lib exception_handler.lib"
AdditionalDependencies="exception_handler.lib"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\$(ConfigurationName)"
GenerateDebugInformation="true"
@ -297,7 +297,7 @@
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="crash_generation.lib exception_handler.lib"
AdditionalDependencies="exception_handler.lib"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\$(ConfigurationName)"
GenerateDebugInformation="true"