Vcproj file updates.
authorErik de Castro Lopo <erikd@mega-nerd.com>
Fri, 4 Oct 2013 03:50:01 +0000 (13:50 +1000)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Fri, 4 Oct 2013 03:50:01 +0000 (13:50 +1000)
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>

29 files changed:
examples/c/decode/file/example_c_decode_file.vcproj
examples/c/encode/file/example_c_encode_file.vcproj
examples/cpp/decode/file/example_cpp_decode_file.vcproj
examples/cpp/encode/file/example_cpp_encode_file.vcproj
src/flac/flac.vcproj
src/flac/iffscan.vcproj
src/libFLAC++/libFLAC++_dynamic.vcproj
src/libFLAC++/libFLAC++_static.vcproj
src/libFLAC/libFLAC_dynamic.vcproj
src/libFLAC/libFLAC_static.vcproj
src/metaflac/metaflac.vcproj
src/monkeys_audio_utilities/flac_mac/flac_mac.vcproj
src/monkeys_audio_utilities/flac_ren/flac_ren.vcproj
src/plugin_common/plugin_common_static.vcproj
src/share/getopt/getopt_static.vcproj
src/share/grabbag/grabbag_static.vcproj
src/share/replaygain_analysis/replaygain_analysis_static.vcproj
src/share/replaygain_synthesis/replaygain_synthesis_static.vcproj
src/share/utf8/utf8_static.vcproj
src/share/win_utf8_io/win_utf8_io_static.vcproj
src/test_grabbag/cuesheet/test_cuesheet.vcproj
src/test_grabbag/picture/test_picture.vcproj
src/test_libFLAC++/test_libFLAC++.vcproj
src/test_libFLAC/test_libFLAC.vcproj
src/test_libs_common/test_libs_common_static.vcproj
src/test_seeking/test_seeking.vcproj
src/test_streams/test_streams.vcproj
src/utils/flacdiff/flacdiff.vcproj
src/utils/flactimer/flactimer.vcproj

index 2498c81..15f108c 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\..\..\objs\debug\bin"\r
-                       IntermediateDirectory="Debug"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
                        >\r
                        <Tool\r
@@ -62,7 +62,7 @@
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="2"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\..\..\objs\release\bin"\r
-                       IntermediateDirectory="Release"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="1"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
index 4d10ac5..fb08db0 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\..\..\objs\debug\bin"\r
-                       IntermediateDirectory="Debug"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
                        >\r
                        <Tool\r
@@ -62,7 +62,7 @@
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="2"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\..\..\objs\release\bin"\r
-                       IntermediateDirectory="Release"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="1"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
index b09bc0f..7463bca 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\..\..\objs\debug\bin"\r
-                       IntermediateDirectory="Debug"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
                        >\r
                        <Tool\r
@@ -62,7 +62,7 @@
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="2"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\..\..\objs\release\bin"\r
-                       IntermediateDirectory="Release"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="1"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
index 38a3e26..333b203 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\..\..\objs\debug\bin"\r
-                       IntermediateDirectory="Debug"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
                        >\r
                        <Tool\r
@@ -62,7 +62,7 @@
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="2"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\..\..\objs\release\bin"\r
-                       IntermediateDirectory="Release"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="1"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
index d0d5032..ace4e3c 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\objs\debug\bin"\r
-                       IntermediateDirectory="Debug"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
                        >\r
                        <Tool\r
@@ -62,7 +62,7 @@
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="2"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\objs\release\bin"\r
-                       IntermediateDirectory="Release"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="1"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
index 3153029..e7ed135 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\objs\debug\bin"\r
-                       IntermediateDirectory="Debug"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
                        >\r
                        <Tool\r
@@ -62,7 +62,7 @@
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="2"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\objs\release\bin"\r
-                       IntermediateDirectory="Release"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="1"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
index 2b7575c..56006e0 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\objs\debug\lib"\r
-                       IntermediateDirectory="Debug_dynamic"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)_dynamic"\r
                        ConfigurationType="2"\r
                        >\r
                        <Tool\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\objs\release\lib"\r
-                       IntermediateDirectory="Release_dynamic"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)_dynamic"\r
                        ConfigurationType="2"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
index e2c26ce..d0a1e99 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\objs\debug\lib"\r
-                       IntermediateDirectory="Debug_static"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="4"\r
                        >\r
                        <Tool\r
@@ -61,7 +61,6 @@
                        />\r
                        <Tool\r
                                Name="VCLibrarianTool"\r
-                               OutputFile="..\..\objs\debug\lib\$(ProjectName).lib"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\objs\release\lib"\r
-                       IntermediateDirectory="Release_static"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="4"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLibrarianTool"\r
-                               OutputFile="..\..\objs\release\lib\$(ProjectName).lib"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
index 46ec9a5..693a10c 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\objs\debug\lib"\r
-                       IntermediateDirectory="Debug_dynamic"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)_dynamic"\r
                        ConfigurationType="2"\r
                        >\r
                        <Tool\r
@@ -63,9 +63,9 @@
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="2"\r
-                               IgnoreDefaultLibraryNames="uuid.lib;libcmt.lib"\r
+                               IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
                                SubSystem="2"\r
                                TargetMachine="1"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\objs\release\lib"\r
-                       IntermediateDirectory="Release_dynamic"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)_dynamic"\r
                        ConfigurationType="2"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="1"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
index a173a79..4851755 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\objs\debug\lib"\r
-                       IntermediateDirectory="Debug_static"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="4"\r
                        >\r
                        <Tool\r
@@ -63,7 +63,6 @@
                        />\r
                        <Tool\r
                                Name="VCLibrarianTool"\r
-                               OutputFile="..\..\objs\debug\lib\$(ProjectName).lib"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\objs\release\lib"\r
-                       IntermediateDirectory="Release_static"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="4"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLibrarianTool"\r
-                               OutputFile="..\..\objs\release\lib\$(ProjectName).lib"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
index d6637fe..076406b 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\objs\debug\bin"\r
-                       IntermediateDirectory="Debug"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
                        >\r
                        <Tool\r
@@ -62,7 +62,7 @@
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="2"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\objs\release\bin"\r
-                       IntermediateDirectory="Release"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="1"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
index cc6c298..dc0c74d 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\..\objs\debug\bin"\r
-                       IntermediateDirectory="Debug"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
                        >\r
                        <Tool\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\..\objs\release\bin"\r
-                       IntermediateDirectory="Release"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
index 5fc7cbc..f436993 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\..\objs\debug\bin"\r
-                       IntermediateDirectory="Debug"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
                        >\r
                        <Tool\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\..\objs\release\bin"\r
-                       IntermediateDirectory="Release"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
index 0a71c80..cf0e941 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\objs\debug\lib"\r
-                       IntermediateDirectory="Debug_static"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="4"\r
                        >\r
                        <Tool\r
@@ -62,7 +62,6 @@
                        />\r
                        <Tool\r
                                Name="VCLibrarianTool"\r
-                               OutputFile="..\..\objs\debug\lib\$(ProjectName).lib"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\objs\release\lib"\r
-                       IntermediateDirectory="Release_static"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="4"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLibrarianTool"\r
-                               OutputFile="..\..\objs\release\lib\$(ProjectName).lib"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
index 6f0c7a7..7a95af2 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\..\objs\debug\lib"\r
-                       IntermediateDirectory="Debug_static"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="4"\r
                        >\r
                        <Tool\r
@@ -62,7 +62,6 @@
                        />\r
                        <Tool\r
                                Name="VCLibrarianTool"\r
-                               OutputFile="..\..\..\objs\debug\lib\$(ProjectName).lib"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\..\objs\release\lib"\r
-                       IntermediateDirectory="Release_static"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="4"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLibrarianTool"\r
-                               OutputFile="..\..\..\objs\release\lib\$(ProjectName).lib"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
index 284bbb8..bb70706 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\..\objs\debug\lib"\r
-                       IntermediateDirectory="Debug_static"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="4"\r
                        >\r
                        <Tool\r
@@ -62,7 +62,6 @@
                        />\r
                        <Tool\r
                                Name="VCLibrarianTool"\r
-                               OutputFile="..\..\..\objs\debug\lib\$(ProjectName).lib"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\..\objs\release\lib"\r
-                       IntermediateDirectory="Release_static"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="4"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLibrarianTool"\r
-                               OutputFile="..\..\..\objs\release\lib\$(ProjectName).lib"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
index 38846d9..c51f3fb 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\..\objs\debug\lib"\r
-                       IntermediateDirectory="Debug_static"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="4"\r
                        >\r
                        <Tool\r
@@ -62,7 +62,6 @@
                        />\r
                        <Tool\r
                                Name="VCLibrarianTool"\r
-                               OutputFile="..\..\..\objs\debug\lib\$(ProjectName).lib"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\..\objs\release\lib"\r
-                       IntermediateDirectory="Release_static"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="4"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLibrarianTool"\r
-                               OutputFile="..\..\..\objs\release\lib\$(ProjectName).lib"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
index 6c50b1e..d2f40c8 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\..\objs\debug\lib"\r
-                       IntermediateDirectory="Debug_static"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="4"\r
                        >\r
                        <Tool\r
@@ -62,7 +62,6 @@
                        />\r
                        <Tool\r
                                Name="VCLibrarianTool"\r
-                               OutputFile="..\..\..\objs\debug\lib\$(ProjectName).lib"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\..\objs\release\lib"\r
-                       IntermediateDirectory="Release_static"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="4"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLibrarianTool"\r
-                               OutputFile="..\..\..\objs\release\lib\$(ProjectName).lib"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
index 9fe4f8a..f31e2d5 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\..\objs\debug\lib"\r
-                       IntermediateDirectory="Debug_static"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="4"\r
                        >\r
                        <Tool\r
@@ -62,7 +62,6 @@
                        />\r
                        <Tool\r
                                Name="VCLibrarianTool"\r
-                               OutputFile="..\..\..\objs\debug\lib\$(ProjectName).lib"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\..\objs\release\lib"\r
-                       IntermediateDirectory="Release_static"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="4"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLibrarianTool"\r
-                               OutputFile="..\..\..\objs\release\lib\$(ProjectName).lib"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
index 444e3fd..6376556 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>
                <Configuration
                        Name="Debug|Win32"
-                       OutputDirectory="..\..\..\objs\debug\lib"
-                       IntermediateDirectory="Debug"
+                       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"
                </Configuration>
                <Configuration
                        Name="Release|Win32"
-                       OutputDirectory="..\..\..\objs\release\lib"
-                       IntermediateDirectory="Release"
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"
+                       IntermediateDirectory="$(ConfigurationName)"
                        ConfigurationType="4"
+                       WholeProgramOptimization="1"
                        >
                        <Tool
                                Name="VCPreBuildEventTool"
                        />
                        <Tool
                                Name="VCLibrarianTool"
-                               OutputFile="..\..\..\objs\release\lib\$(ProjectName).lib"
                        />
                        <Tool
                                Name="VCALinkTool"
index 0d72363..8644a23 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\..\objs\debug\bin"\r
-                       IntermediateDirectory="Debug"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
                        >\r
                        <Tool\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\..\objs\release\bin"\r
-                       IntermediateDirectory="Release"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
index 6f73d07..1ada2ed 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\..\objs\debug\bin"\r
-                       IntermediateDirectory="Debug"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
                        >\r
                        <Tool\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\..\objs\release\bin"\r
-                       IntermediateDirectory="Release"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
index 46e44c7..0c8e55c 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\objs\debug\bin"\r
-                       IntermediateDirectory="Debug"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
                        >\r
                        <Tool\r
@@ -61,7 +61,7 @@
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="2"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\objs\release\bin"\r
-                       IntermediateDirectory="Release"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="1"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
index 6a4097d..bf960aa 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\objs\debug\bin"\r
-                       IntermediateDirectory="Debug"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
                        >\r
                        <Tool\r
@@ -62,7 +62,7 @@
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="2"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\objs\release\bin"\r
-                       IntermediateDirectory="Release"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="1"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
index 7259981..0f1d37c 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\objs\debug\lib"\r
-                       IntermediateDirectory="Debug_static"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="4"\r
                        >\r
                        <Tool\r
@@ -62,7 +62,6 @@
                        />\r
                        <Tool\r
                                Name="VCLibrarianTool"\r
-                               OutputFile="..\..\objs\debug\lib\$(ProjectName).lib"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\objs\release\lib"\r
-                       IntermediateDirectory="Release_static"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\lib"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="4"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLibrarianTool"\r
-                               OutputFile="..\..\objs\release\lib\$(ProjectName).lib"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
index f5939c6..bfeeef7 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\objs\debug\bin"\r
-                       IntermediateDirectory="Debug"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
                        >\r
                        <Tool\r
@@ -62,7 +62,7 @@
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="2"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\objs\release\bin"\r
-                       IntermediateDirectory="Release"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="1"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
index 9b27738..415ecc0 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\objs\debug\bin"\r
-                       IntermediateDirectory="Debug"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
                        >\r
                        <Tool\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\objs\release\bin"\r
-                       IntermediateDirectory="Release"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
index b5c7d39..0c79b2f 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\..\objs\debug\bin"\r
-                       IntermediateDirectory="Debug"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
                        >\r
                        <Tool\r
@@ -61,7 +61,7 @@
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="2"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\..\objs\release\bin"\r
-                       IntermediateDirectory="Release"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="..\..\..\objs\release\lib\libogg_static.lib"\r
+                               AdditionalDependencies="$(SolutionDir)objs\$(ConfigurationName)\lib\libogg_static.lib"\r
                                LinkIncremental="1"\r
                                IgnoreDefaultLibraryNames="uuid.lib"\r
                                GenerateDebugInformation="true"\r
index 36fe55a..edcc40d 100644 (file)
@@ -17,8 +17,8 @@
        <Configurations>\r
                <Configuration\r
                        Name="Debug|Win32"\r
-                       OutputDirectory="..\..\..\objs\debug\bin"\r
-                       IntermediateDirectory="Debug"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
                        >\r
                        <Tool\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
-                       OutputDirectory="..\..\..\objs\release\bin"\r
-                       IntermediateDirectory="Release"\r
+                       OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
                        ConfigurationType="1"\r
+                       WholeProgramOptimization="1"\r
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r