diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-10-04 13:50:01 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-10-04 13:50:01 +1000 |
commit | a1abfa3df29fc7fcb8cee35365c51db8fbc99dbc (patch) | |
tree | 4b878bdfa73769888f3f002c4a88a8907f62b734 /src/share/getopt | |
parent | ecd0acba75e7961b60465c5ee3b6876b407803ca (diff) | |
download | flac-a1abfa3df29fc7fcb8cee35365c51db8fbc99dbc.tar.gz |
Vcproj file updates.
rplaces
OutputDirectory="..\..\..\..\objs\debug\bin"
with
OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin
and so on.
Rmoves
OutputFile="..\..\objs\debug\lib\$(ProjectName).lib
when possible.
Also, in the current version "Whole program optimization" compiler option
is set, but the corresponding linker option isn't. From MSDN:
"If you do not explicitly specify /LTCG when you pass /GL or MSIL modules
to the linker, the linker eventually detects this and restarts the link
by using /LTCG. Explicitly specify /LTCG when you pass /GL and MSIL modules
to the linker for the fastest possible build performance."
So /LTCG option was added too.
Debug build now uses libogg_static.lib from .\objs\debug\lib folder.
(the dependency for both release and debug is
objs\$(ConfigurationName)\lib\libogg_static.lib)
Patch-from: lvqcl <lvqcl.mail@gmail.com>
Diffstat (limited to 'src/share/getopt')
-rw-r--r-- | src/share/getopt/getopt_static.vcproj | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/share/getopt/getopt_static.vcproj b/src/share/getopt/getopt_static.vcproj index 6f0c7a77..7a95af25 100644 --- a/src/share/getopt/getopt_static.vcproj +++ b/src/share/getopt/getopt_static.vcproj @@ -17,8 +17,8 @@ <Configurations>
<Configuration
Name="Debug|Win32"
- OutputDirectory="..\..\..\objs\debug\lib"
- IntermediateDirectory="Debug_static"
+ OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"
+ IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
>
<Tool
@@ -62,7 +62,6 @@ />
<Tool
Name="VCLibrarianTool"
- OutputFile="..\..\..\objs\debug\lib\$(ProjectName).lib"
/>
<Tool
Name="VCALinkTool"
@@ -82,9 +81,10 @@ </Configuration>
<Configuration
Name="Release|Win32"
- OutputDirectory="..\..\..\objs\release\lib"
- IntermediateDirectory="Release_static"
+ OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"
+ IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
+ WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
@@ -129,7 +129,6 @@ />
<Tool
Name="VCLibrarianTool"
- OutputFile="..\..\..\objs\release\lib\$(ProjectName).lib"
/>
<Tool
Name="VCALinkTool"
|