[gstreamermm] msvc: added vd2 flag to a compilator
- From: Marcin Kolny <mkolny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm] msvc: added vd2 flag to a compilator
- Date: Tue, 9 Sep 2014 21:44:17 +0000 (UTC)
commit f1978fbcb9a8464ecb628468bc099ee36af34114
Author: Marcin Kolny <marcin kolny gmail com>
Date: Fri Sep 5 13:29:14 2014 +0200
msvc: added vd2 flag to a compilator
vd2 flag allows to use dynamic_cast in an object being constructed.
This flag is used in case where the only virtual function in virtual base
class is a destructor (so it is in ObjectBase class).
* MSVC_2010/gstreamermm.props: added necessary flag in a property
sheet file, so user who uses this property sheet in his
project, don't have to remember about adding this flag.
MSVC_2010/gstreamermm-1.0.props | 53 ++++++++++++++++++++-------------------
1 files changed, 27 insertions(+), 26 deletions(-)
---
diff --git a/MSVC_2010/gstreamermm-1.0.props b/MSVC_2010/gstreamermm-1.0.props
index deaae39..bcfe798 100644
--- a/MSVC_2010/gstreamermm-1.0.props
+++ b/MSVC_2010/gstreamermm-1.0.props
@@ -1,26 +1,27 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <GstreamerBasePath Condition="'$(Platform)'=='Win32'">$(GSTREAMER_1_0_ROOT_X86)</GstreamerBasePath>
- <GstreamerBasePath Condition="'$(Platform)'=='x64'">$(GSTREAMER_1_0_ROOT_X86_64)</GstreamerBasePath>
- <GtkmmBasePath Condition="'$(Platform)'=='Win32'">$(GTKMM_BASEPATH)</GtkmmBasePath>
- <GtkmmBasePath Condition="'$(Platform)'=='x64'">$(GTKMM64_BASEPATH)</GtkmmBasePath>
- <GlibmmAdditionalDependencies
Condition="'$(Configuration)'=='Debug'">glibmm-$(PlatformToolset)-d-2_4.lib;sigc-$(PlatformToolset)-d-2_0.lib</GlibmmAdditionalDependencies>
- <GlibmmAdditionalDependencies
Condition="'$(Configuration)'=='Release'">glibmm-$(PlatformToolset)-2_4.lib;sigc-$(PlatformToolset)-2_0.lib</GlibmmAdditionalDependencies>
- </PropertyGroup>
- <ImportGroup Label="PropertySheets" />
- <PropertyGroup Label="UserMacros" />
- <ItemDefinitionGroup>
- <ClCompile>
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
- <PreprocessorDefinitions>GSTREAMERMM_1_0_BUILD=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <WarningLevel>Level3</WarningLevel>
-
<AdditionalIncludeDirectories>$(GstreamerBasePath)\include\gstreamer-1.0;$(GtkmmBasePath)\include\glibmm-2.4;$(GtkmmBasePath)\lib\glibmm-2.4\include;$(GtkmmBasePath)\include\glib-2.0;$(GtkmmBasePath)\lib\glib-2.0\include;$(GtkmmBasePath)\include\giomm-2.4;$(GtkmmBasePath)\include\sigc++-2.0;$(GtkmmBasePath)\lib\sigc++-2.0\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
-
<AdditionalLibraryDirectories>$(GstreamerBasePath)\lib;$(GtkmmBasePath)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
-
<AdditionalDependencies>gstreamer-1.0.lib;glib-2.0.lib;intl.lib;gobject-2.0.lib;gstaudio-1.0.lib;gstapp-1.0.lib;gstbase-1.0.lib;gstvideo-1.0.lib;gstpbutils-1.0.lib;$(GlibmmAdditionalDependencies)</AdditionalDependencies>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup />
-</Project>
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <GstreamerBasePath Condition="'$(Platform)'=='Win32'">$(GSTREAMER_1_0_ROOT_X86)</GstreamerBasePath>
+ <GstreamerBasePath Condition="'$(Platform)'=='x64'">$(GSTREAMER_1_0_ROOT_X86_64)</GstreamerBasePath>
+ <GtkmmBasePath Condition="'$(Platform)'=='Win32'">$(GTKMM_BASEPATH)</GtkmmBasePath>
+ <GtkmmBasePath Condition="'$(Platform)'=='x64'">$(GTKMM64_BASEPATH)</GtkmmBasePath>
+ <GlibmmAdditionalDependencies
Condition="'$(Configuration)'=='Debug'">glibmm-$(PlatformToolset)-d-2_4.lib;sigc-$(PlatformToolset)-d-2_0.lib</GlibmmAdditionalDependencies>
+ <GlibmmAdditionalDependencies
Condition="'$(Configuration)'=='Release'">glibmm-$(PlatformToolset)-2_4.lib;sigc-$(PlatformToolset)-2_0.lib</GlibmmAdditionalDependencies>
+ </PropertyGroup>
+ <ImportGroup Label="PropertySheets" />
+ <PropertyGroup Label="UserMacros" />
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
+ <PreprocessorDefinitions>GSTREAMERMM_1_0_BUILD=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <WarningLevel>Level3</WarningLevel>
+
<AdditionalIncludeDirectories>$(GstreamerBasePath)\include\gstreamer-1.0;$(GtkmmBasePath)\include\glibmm-2.4;$(GtkmmBasePath)\lib\glibmm-2.4\include;$(GtkmmBasePath)\include\glib-2.0;$(GtkmmBasePath)\lib\glib-2.0\include;$(GtkmmBasePath)\include\giomm-2.4;$(GtkmmBasePath)\include\sigc++-2.0;$(GtkmmBasePath)\lib\sigc++-2.0\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalOptions>/vd2 %(AdditionalOptions)</AdditionalOptions>
+ </ClCompile>
+ <Link>
+
<AdditionalLibraryDirectories>$(GstreamerBasePath)\lib;$(GtkmmBasePath)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+
<AdditionalDependencies>gstreamer-1.0.lib;glib-2.0.lib;intl.lib;gobject-2.0.lib;gstaudio-1.0.lib;gstapp-1.0.lib;gstbase-1.0.lib;gstvideo-1.0.lib;gstpbutils-1.0.lib;$(GlibmmAdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup />
+</Project>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]