[glibmm] Visual Studio 2008 Projects: More Cleanups and Tweaks



commit 7131e16e8b4d54c7675828e0bbd3ae522f5b3772
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Sep 17 10:56:11 2014 +0800

    Visual Studio 2008 Projects: More Cleanups and Tweaks
    
    Remove items from the projects that are no longer necessary to build
    glibmm[1], and generate debug info (.pdb files, with little to no
    performance defecit) for release builds as well.  These changes also fixes
    the builds of glibmm and gtkmm as the glibmm_interface_implementation test
    now runs successfully, and the gtkmm demo program now starts without
    crashing (although it still does crash when a window is being closed).
    
        * MSVC_Net2008/*.vproj: Remove the build of blank.cpp and the /vd2
          build options, as they are no longer needed.
        * MSVC_Net2008/giomm.vcproj:
        * MSVC_Net2008/glibmm.vcproj: Generate Debug Info for the Release
          builds as well.

 MSVC_Net2008/compose.vcproj       |    1 -
 MSVC_Net2008/dispatcher.vcproj    |    1 -
 MSVC_Net2008/dispatcher2.vcproj   |    1 -
 MSVC_Net2008/gendef.vcproj        |    1 -
 MSVC_Net2008/giomm.vcproj         |    7 ++-----
 MSVC_Net2008/giomm_simple.vcproj  |    1 -
 MSVC_Net2008/glibmm.vcproj        |    7 ++-----
 MSVC_Net2008/glibmm_value.vcproj  |    1 -
 MSVC_Net2008/keyfile.vcproj       |    1 -
 MSVC_Net2008/markup.vcproj        |    1 -
 MSVC_Net2008/options.vcproj       |    1 -
 MSVC_Net2008/properties.vcproj    |    1 -
 MSVC_Net2008/regex.vcproj         |    1 -
 MSVC_Net2008/resolver.vcproj      |    1 -
 MSVC_Net2008/socket-client.vcproj |    1 -
 MSVC_Net2008/socket-server.vcproj |    1 -
 MSVC_Net2008/thread.vcproj        |    1 -
 MSVC_Net2008/threadpool.vcproj    |    1 -
 18 files changed, 4 insertions(+), 26 deletions(-)
---
diff --git a/MSVC_Net2008/compose.vcproj b/MSVC_Net2008/compose.vcproj
index a5c462a..5e90fe9 100644
--- a/MSVC_Net2008/compose.vcproj
+++ b/MSVC_Net2008/compose.vcproj
@@ -160,7 +160,6 @@
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
-                       <File RelativePath="blank.cpp" />
                        <File RelativePath="..\examples\compose\main.cc" />
                </Filter>
                <Filter
diff --git a/MSVC_Net2008/dispatcher.vcproj b/MSVC_Net2008/dispatcher.vcproj
index e5a820b..21dc67b 100644
--- a/MSVC_Net2008/dispatcher.vcproj
+++ b/MSVC_Net2008/dispatcher.vcproj
@@ -160,7 +160,6 @@
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
-                       <File RelativePath="blank.cpp" />
                        <File RelativePath="..\examples\thread\dispatcher.cc" />
                </Filter>
                <Filter
diff --git a/MSVC_Net2008/dispatcher2.vcproj b/MSVC_Net2008/dispatcher2.vcproj
index 32b8059..7c0da22 100644
--- a/MSVC_Net2008/dispatcher2.vcproj
+++ b/MSVC_Net2008/dispatcher2.vcproj
@@ -159,7 +159,6 @@
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
-                       <File RelativePath="blank.cpp" />
                        <File RelativePath="..\examples\thread\dispatcher2.cc" />
                </Filter>
                <Filter
diff --git a/MSVC_Net2008/gendef.vcproj b/MSVC_Net2008/gendef.vcproj
index 93c0b41..5034c70 100644
--- a/MSVC_Net2008/gendef.vcproj
+++ b/MSVC_Net2008/gendef.vcproj
@@ -151,7 +151,6 @@
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
-                       <File RelativePath="blank.cpp" />
                        <File RelativePath=".\gendef\gendef.cc" />
                </Filter>
                <Filter
diff --git a/MSVC_Net2008/giomm.vcproj b/MSVC_Net2008/giomm.vcproj
index 79cf138..9afe4e3 100644
--- a/MSVC_Net2008/giomm.vcproj
+++ b/MSVC_Net2008/giomm.vcproj
@@ -25,7 +25,6 @@
                        >
                        <Tool
                                Name="VCCLCompilerTool"
-                               AdditionalOptions="/vd2"
                                Optimization="0"
                                
AdditionalIncludeDirectories=".\giomm;..\gio;$(GlibEtcInstallRoot)\include\gio-win32-2.0"
                                PreprocessorDefinitions="_DEBUG;$(GioMMBuildDefs)"
@@ -62,7 +61,6 @@
                        />
                        <Tool
                                Name="VCCLCompilerTool"
-                               AdditionalOptions="/vd2"
                                Optimization="0"
                                
AdditionalIncludeDirectories=".\giomm;..\gio;$(GlibEtcInstallRoot)\include\gio-win32-2.0"
                                PreprocessorDefinitions="_DEBUG;$(GioMMBuildDefs)"
@@ -96,7 +94,6 @@
                        >
                        <Tool
                                Name="VCCLCompilerTool"
-                               AdditionalOptions="/vd2"
                                
AdditionalIncludeDirectories=".\giomm;..\gio;$(GlibEtcInstallRoot)\include\gio-win32-2.0"
                                PreprocessorDefinitions="$(GioMMBuildDefs)"
                                RuntimeLibrary="2"
@@ -112,6 +109,7 @@
                                Name="VCLinkerTool"
                                AdditionalDependencies="gio-2.0.lib $(CPPDepLibsRelease)"
                                OutputFile="$(OutDir)\$(ProjectName)$(ReleaseDllSuffix).dll"
+                               GenerateDebugInformation="true"
                                ModuleDefinitionFile="$(IntDir)\$(ProjectName).def"
                                RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
@@ -129,7 +127,6 @@
                        />
                        <Tool
                                Name="VCCLCompilerTool"
-                               AdditionalOptions="/vd2"
                                
AdditionalIncludeDirectories=".\giomm;..\gio;$(GlibEtcInstallRoot)\include\gio-win32-2.0"
                                PreprocessorDefinitions="$(GioMMBuildDefs)"
                                RuntimeLibrary="2"
@@ -144,6 +141,7 @@
                        <Tool
                                Name="VCLinkerTool"
                                AdditionalDependencies="gio-2.0.lib $(CPPDepLibsRelease)"
+                               GenerateDebugInformation="true"
                                OutputFile="$(OutDir)\$(ProjectName)$(ReleaseDllSuffix).dll"
                                ModuleDefinitionFile="$(IntDir)\$(ProjectName).def"
                                RandomizedBaseAddress="1"
@@ -160,7 +158,6 @@
                        Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
-                       <File RelativePath="blank.cpp" />
                        <File RelativePath="..\gio\giomm\action.cc" />
                        <File RelativePath="..\gio\giomm\actiongroup.cc" />
                        <File RelativePath="..\gio\giomm\actionmap.cc" />
diff --git a/MSVC_Net2008/giomm_simple.vcproj b/MSVC_Net2008/giomm_simple.vcproj
index efb9a02..5e54a10 100644
--- a/MSVC_Net2008/giomm_simple.vcproj
+++ b/MSVC_Net2008/giomm_simple.vcproj
@@ -164,7 +164,6 @@
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
-                       <File RelativePath="blank.cpp" />
                        <File RelativePath="..\tests\giomm_simple\main.cc" />
                </Filter>
                <Filter
diff --git a/MSVC_Net2008/glibmm.vcproj b/MSVC_Net2008/glibmm.vcproj
index 1c869ef..b7cb855 100644
--- a/MSVC_Net2008/glibmm.vcproj
+++ b/MSVC_Net2008/glibmm.vcproj
@@ -27,7 +27,6 @@
                        >
                        <Tool
                                Name="VCCLCompilerTool"
-                               AdditionalOptions="/vd2"
                                Optimization="0"
                                AdditionalIncludeDirectories=""
                                PreprocessorDefinitions="_DEBUG;$(GLibMMBuildDefs)"
@@ -68,7 +67,6 @@
                        />
                        <Tool
                                Name="VCCLCompilerTool"
-                               AdditionalOptions="/vd2"
                                Optimization="0"
                                AdditionalIncludeDirectories=""
                                PreprocessorDefinitions="_DEBUG;$(GLibMMBuildDefs)"
@@ -106,7 +104,6 @@
                        >
                        <Tool
                                Name="VCCLCompilerTool"
-                               AdditionalOptions="/vd2"
                                AdditionalIncludeDirectories=""
                                PreprocessorDefinitions="$(GLibMMBuildDefs)"
                                RuntimeLibrary="2"
@@ -125,6 +122,7 @@
                                Name="VCLinkerTool"
                                AdditionalDependencies="$(CPPDepLibsRelease)"
                                OutputFile="$(OutDir)\$(ProjectName)$(ReleaseDllSuffix).dll"
+                               GenerateDebugInformation="true"
                                GenerateManifest="true"
                                ModuleDefinitionFile="$(IntDir)\$(ProjectName).def"
                                RandomizedBaseAddress="1"
@@ -143,7 +141,6 @@
                        />
                        <Tool
                                Name="VCCLCompilerTool"
-                               AdditionalOptions="/vd2"
                                AdditionalIncludeDirectories=""
                                PreprocessorDefinitions="$(GLibMMBuildDefs)"
                                RuntimeLibrary="2"
@@ -162,6 +159,7 @@
                                Name="VCLinkerTool"
                                AdditionalDependencies="$(CPPDepLibsRelease)"
                                OutputFile="$(OutDir)\$(ProjectName)$(ReleaseDllSuffix).dll"
+                               GenerateDebugInformation="true"
                                GenerateManifest="true"
                                ModuleDefinitionFile="$(IntDir)\$(ProjectName).def"
                                RandomizedBaseAddress="1"
@@ -178,7 +176,6 @@
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
-                       <File RelativePath="blank.cpp" />
                        <File RelativePath="..\glib\glibmm\arrayhandle.cc" />
                        <File RelativePath="..\glib\glibmm\balancedtree.cc" />
                        <File RelativePath="..\glib\glibmm\base64.cc" />
diff --git a/MSVC_Net2008/glibmm_value.vcproj b/MSVC_Net2008/glibmm_value.vcproj
index da04618..01e5d59 100644
--- a/MSVC_Net2008/glibmm_value.vcproj
+++ b/MSVC_Net2008/glibmm_value.vcproj
@@ -160,7 +160,6 @@
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
-                       <File RelativePath="blank.cpp" />
                        <File RelativePath="..\tests\glibmm_value\glibmm_value.cc" />
                        <File RelativePath="..\tests\glibmm_value\main.cc" />
                </Filter>
diff --git a/MSVC_Net2008/keyfile.vcproj b/MSVC_Net2008/keyfile.vcproj
index b71e8b2..e83bbf9 100644
--- a/MSVC_Net2008/keyfile.vcproj
+++ b/MSVC_Net2008/keyfile.vcproj
@@ -160,7 +160,6 @@
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
-                       <File RelativePath="blank.cpp" />
                        <File RelativePath="..\examples\keyfile\main.cc" />
                </Filter>
                <Filter
diff --git a/MSVC_Net2008/markup.vcproj b/MSVC_Net2008/markup.vcproj
index 8f40e91..265b9d3 100644
--- a/MSVC_Net2008/markup.vcproj
+++ b/MSVC_Net2008/markup.vcproj
@@ -159,7 +159,6 @@
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
-                       <File RelativePath="blank.cpp" />
                        <File RelativePath="..\examples\markup\parser.cc" />
                </Filter>
                <Filter
diff --git a/MSVC_Net2008/options.vcproj b/MSVC_Net2008/options.vcproj
index 194426a..ff05388 100644
--- a/MSVC_Net2008/options.vcproj
+++ b/MSVC_Net2008/options.vcproj
@@ -160,7 +160,6 @@
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
-                       <File RelativePath="blank.cpp" />
                        <File RelativePath="..\examples\options\main.cc" />
                </Filter>
                <Filter
diff --git a/MSVC_Net2008/properties.vcproj b/MSVC_Net2008/properties.vcproj
index f76b2fc..de2b014 100644
--- a/MSVC_Net2008/properties.vcproj
+++ b/MSVC_Net2008/properties.vcproj
@@ -160,7 +160,6 @@
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
-                       <File RelativePath="blank.cpp" />
                        <File RelativePath="..\examples\properties\properties_example.cc" />
                </Filter>
                <Filter
diff --git a/MSVC_Net2008/regex.vcproj b/MSVC_Net2008/regex.vcproj
index 88e29a2..eedff62 100644
--- a/MSVC_Net2008/regex.vcproj
+++ b/MSVC_Net2008/regex.vcproj
@@ -160,7 +160,6 @@
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
-                       <File RelativePath="blank.cpp" />
                        <File RelativePath="..\examples\regex\main.cc" />
                </Filter>
                <Filter
diff --git a/MSVC_Net2008/resolver.vcproj b/MSVC_Net2008/resolver.vcproj
index c11c32b..92f83f8 100644
--- a/MSVC_Net2008/resolver.vcproj
+++ b/MSVC_Net2008/resolver.vcproj
@@ -164,7 +164,6 @@
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
-                       <File RelativePath="blank.cpp" />
                        <File RelativePath="..\examples\network\resolver.cc" />
                </Filter>
                <Filter
diff --git a/MSVC_Net2008/socket-client.vcproj b/MSVC_Net2008/socket-client.vcproj
index e8d6f90..6f5b142 100644
--- a/MSVC_Net2008/socket-client.vcproj
+++ b/MSVC_Net2008/socket-client.vcproj
@@ -164,7 +164,6 @@
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
-                       <File RelativePath="blank.cpp" />
                        <File RelativePath="..\examples\network\socket-client.cc" />
                </Filter>
                <Filter
diff --git a/MSVC_Net2008/socket-server.vcproj b/MSVC_Net2008/socket-server.vcproj
index fcbb17a..1b7733c 100644
--- a/MSVC_Net2008/socket-server.vcproj
+++ b/MSVC_Net2008/socket-server.vcproj
@@ -164,7 +164,6 @@
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
-                       <File RelativePath="blank.cpp" />
                        <File RelativePath="..\examples\network\socket-server.cc" />
                </Filter>
                <Filter
diff --git a/MSVC_Net2008/thread.vcproj b/MSVC_Net2008/thread.vcproj
index 9af7299..70c1117 100644
--- a/MSVC_Net2008/thread.vcproj
+++ b/MSVC_Net2008/thread.vcproj
@@ -159,7 +159,6 @@
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
-                       <File RelativePath="blank.cpp" />
                        <File RelativePath="..\examples\thread\thread.cc" />
                </Filter>
                <Filter
diff --git a/MSVC_Net2008/threadpool.vcproj b/MSVC_Net2008/threadpool.vcproj
index 0a7bc6b..e91700a 100644
--- a/MSVC_Net2008/threadpool.vcproj
+++ b/MSVC_Net2008/threadpool.vcproj
@@ -159,7 +159,6 @@
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
-                       <File RelativePath="blank.cpp" />
                        <File RelativePath="..\examples\thread\threadpool.cc" />
                </Filter>
                <Filter


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]