[atkmm] Cleanup and Fix Visual Studio 2008/2010 Projects
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [atkmm] Cleanup and Fix Visual Studio 2008/2010 Projects
- Date: Wed, 17 Sep 2014 10:18:14 +0000 (UTC)
commit b2eeaa4dc42b409af07e21a1b0a2c1bdebac08fe
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Wed Sep 17 18:18:01 2014 +0800
Cleanup and Fix Visual Studio 2008/2010 Projects
We don't need to include blank.cpp in our builds, as the IDE recognize .cc
files, and building with /vd2 brings more trouble than benefit, causing
weird crashes.
* MSVC_Net2008/gendef/gendef.vcproj: Don't include blank.cpp in the
builds, it's not needed.
* MSVC_Net2008/atkmm/atkmm.vcproj: Don't include blank.cpp in the
builds, it's not needed. Don't compile with /vd2 as it is a
source of weird crashes, such as in the gtkmm demo program.
* MSVC_Net2010/atkmm/atkmm.vcxproj: Don't compile with /vd2 as it
is a source of weird crashes, such as in the gtkmm demo program.
MSVC_Net2008/atkmm/atkmm.vcproj | 5 -----
MSVC_Net2008/gendef/gendef.vcproj | 1 -
MSVC_Net2010/atkmm/atkmm.vcxproj | 8 ++++----
3 files changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/MSVC_Net2008/atkmm/atkmm.vcproj b/MSVC_Net2008/atkmm/atkmm.vcproj
index f27a760..0fbb9e1 100644
--- a/MSVC_Net2008/atkmm/atkmm.vcproj
+++ b/MSVC_Net2008/atkmm/atkmm.vcproj
@@ -28,7 +28,6 @@
>
<Tool
Name="VCCLCompilerTool"
- AdditionalOptions="/vd2"
Optimization="0"
AdditionalIncludeDirectories="../../atk;$(SolutionDir)\..\..\vs9\win32\include\glibmm-2.4;$(SolutionDir)\..\..\vs9\win32\lib\glibmm-2.4\include;$(SolutionDir)\..\..\vs9\win32\include\sigc++-2.0;$(SolutionDir)\..\..\vs9\win32\lib\sigc++-2.0\include"
PreprocessorDefinitions="_DEBUG;ATKMM_BUILD"
@@ -68,7 +67,6 @@
>
<Tool
Name="VCCLCompilerTool"
- AdditionalOptions="/vd2"
AdditionalIncludeDirectories="../../atk;$(SolutionDir)\..\..\vs9\win32\include\glibmm-2.4;$(SolutionDir)\..\..\vs9\win32\lib\glibmm-2.4\include;$(SolutionDir)\..\..\vs9\win32\include\sigc++-2.0;$(SolutionDir)\..\..\vs9\win32\lib\sigc++-2.0\include"
PreprocessorDefinitions="ATKMM_BUILD"
RuntimeLibrary="2"
@@ -108,7 +106,6 @@
/>
<Tool
Name="VCCLCompilerTool"
- AdditionalOptions="/vd2"
Optimization="0"
AdditionalIncludeDirectories="../../atk;$(SolutionDir)\..\..\vs9\x64\include\glibmm-2.4;$(SolutionDir)\..\..\vs9\x64\lib\glibmm-2.4\include;$(SolutionDir)\..\..\vs9\x64\include\sigc++-2.0;$(SolutionDir)\..\..\vs9\x64\lib\sigc++-2.0\include"
PreprocessorDefinitions="_DEBUG;ATKMM_BUILD"
@@ -153,7 +150,6 @@
/>
<Tool
Name="VCCLCompilerTool"
- AdditionalOptions="/vd2"
AdditionalIncludeDirectories="../../atk;$(SolutionDir)\..\..\vs9\x64\include\glibmm-2.4;$(SolutionDir)\..\..\vs9\x64\lib\glibmm-2.4\include;$(SolutionDir)\..\..\vs9\x64\include\sigc++-2.0;$(SolutionDir)\..\..\vs9\x64\lib\sigc++-2.0\include"
PreprocessorDefinitions="ATKMM_BUILD"
RuntimeLibrary="2"
@@ -190,7 +186,6 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File RelativePath="..\..\atk\atkmm\action.cc" />
- <File RelativePath="..\blank.cpp" />
<File RelativePath="..\..\atk\atkmm\component.cc" />
<File RelativePath="..\..\atk\atkmm\document.cc" />
<File RelativePath="..\..\atk\atkmm\editabletext.cc" />
diff --git a/MSVC_Net2008/gendef/gendef.vcproj b/MSVC_Net2008/gendef/gendef.vcproj
index 96e1bcc..19af764 100644
--- a/MSVC_Net2008/gendef/gendef.vcproj
+++ b/MSVC_Net2008/gendef/gendef.vcproj
@@ -171,7 +171,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.cc" />
</Filter>
<Filter
diff --git a/MSVC_Net2010/atkmm/atkmm.vcxproj b/MSVC_Net2010/atkmm/atkmm.vcxproj
index 699c824..5961873 100644
--- a/MSVC_Net2010/atkmm/atkmm.vcxproj
+++ b/MSVC_Net2010/atkmm/atkmm.vcxproj
@@ -80,7 +80,7 @@
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
- <AdditionalOptions>/vd2 %(AdditionalOptions)</AdditionalOptions>
+ <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>../../atk;$(SolutionDir)\..\..\vs10\win32\include\glibmm-2.4;$(SolutionDir)\..\..\vs10\win32\lib\glibmm-2.4\include;$(SolutionDir)\..\..\vs10\win32\include\sigc++-2.0;$(SolutionDir)\..\..\vs10\win32\lib\sigc++-2.0\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_DEBUG;ATKMM_BUILD;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -110,7 +110,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
- <AdditionalOptions>/vd2 %(AdditionalOptions)</AdditionalOptions>
+ <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>../../atk;$(SolutionDir)\..\..\vs10\win32\include\glibmm-2.4;$(SolutionDir)\..\..\vs10\win32\lib\glibmm-2.4\include;$(SolutionDir)\..\..\vs10\win32\include\sigc++-2.0;$(SolutionDir)\..\..\vs10\win32\lib\sigc++-2.0\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>ATKMM_BUILD;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
@@ -139,7 +139,7 @@
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
- <AdditionalOptions>/vd2 %(AdditionalOptions)</AdditionalOptions>
+ <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>../../atk;$(SolutionDir)\..\..\vs10\x64\include\glibmm-2.4;$(SolutionDir)\..\..\vs10\x64\lib\glibmm-2.4\include;$(SolutionDir)\..\..\vs10\x64\include\sigc++-2.0;$(SolutionDir)\..\..\vs10\x64\lib\sigc++-2.0\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_DEBUG;ATKMM_BUILD;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -173,7 +173,7 @@
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
- <AdditionalOptions>/vd2 %(AdditionalOptions)</AdditionalOptions>
+ <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>../../atk;$(SolutionDir)\..\..\vs10\x64\include\glibmm-2.4;$(SolutionDir)\..\..\vs10\x64\lib\glibmm-2.4\include;$(SolutionDir)\..\..\vs10\x64\include\sigc++-2.0;$(SolutionDir)\..\..\vs10\x64\lib\sigc++-2.0\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>ATKMM_BUILD;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]