diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2005-10-10 14:15:15 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2005-10-10 14:15:15 +0000 |
commit | a132cc9d9ae7c7c461dceebdf56ab11d871e83a1 (patch) | |
tree | 91175d27d3a2b86c3190d224b4faa16e885af1de | |
parent | addf0c460bb7aa50518d8b4f4849746db30de56a (diff) |
add more win32 build files
Original commit message from CVS:
add more win32 build files
-rw-r--r-- | win32/MANIFEST | 3 | ||||
-rw-r--r-- | win32/libgstbase.def | 15 | ||||
-rw-r--r-- | win32/libgstbase.vcproj | 194 | ||||
-rw-r--r-- | win32/link_oldruntime.c | 10 | ||||
-rw-r--r-- | win32/vs7/libgstbase.def | 15 | ||||
-rw-r--r-- | win32/vs7/libgstbase.vcproj | 194 | ||||
-rw-r--r-- | win32/vs7/link_oldruntime.c | 10 |
7 files changed, 441 insertions, 0 deletions
diff --git a/win32/MANIFEST b/win32/MANIFEST index bf19c6e5a..483fc17fd 100644 --- a/win32/MANIFEST +++ b/win32/MANIFEST @@ -15,6 +15,8 @@ win32/gstoptimalscheduler.vcproj win32/gstreamer-dbg.def win32/gstreamer.def win32/GStreamer.vcproj +win32/libgstbase.def +win32/libgstbase.vcproj win32/gst-register.vcproj win32/gstversion.h win32/gtchar.h @@ -28,3 +30,4 @@ win32/mman.h win32/mman.inl win32/msvc71.sln win32/README.txt +win32/link_oldruntime.c diff --git a/win32/libgstbase.def b/win32/libgstbase.def new file mode 100644 index 000000000..97e385494 --- /dev/null +++ b/win32/libgstbase.def @@ -0,0 +1,15 @@ +EXPORTS
+ gst_base_transform_set_passthrough
+ gst_base_transform_get_type
+ gst_base_sink_get_type
+ gst_base_src_set_live
+ gst_base_src_get_type
+ gst_base_src_is_live
+ gst_push_src_get_type
+ gst_type_find_helper
+ gst_collectpads_add_pad
+ gst_collectpads_pop
+ gst_collectpads_start
+ gst_collectpads_stop
+ gst_collectpads_set_function
+ gst_collectpads_new
diff --git a/win32/libgstbase.vcproj b/win32/libgstbase.vcproj new file mode 100644 index 000000000..9ecca0661 --- /dev/null +++ b/win32/libgstbase.vcproj @@ -0,0 +1,194 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="7.10"
+ Name="libgstbase"
+ ProjectGUID="{FE3C9C89-CD25-451D-8526-8726A4914EE9}"
+ Keyword="Win32Proj">
+ <Platforms>
+ <Platform
+ Name="Win32"/>
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug"
+ IntermediateDirectory="Debug"
+ ConfigurationType="2"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories=".\;..\;..\libs;c:\usr\include"
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBGSTBASE_EXPORTS;HAVE_CONFIG_H;HAVE_WIN32"
+ MinimalRebuild="TRUE"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="5"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="4"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="glib-2.0.lib gobject-2.0.lib intl.lib"
+ OutputFile="$(OutDir)/libgstbase.dll"
+ LinkIncremental="2"
+ AdditionalLibraryDirectories="c:\usr\lib"
+ ModuleDefinitionFile="libgstbase.def"
+ GenerateDebugInformation="TRUE"
+ ProgramDatabaseFile="$(OutDir)/libgstbase.pdb"
+ SubSystem="2"
+ ImportLibrary="$(OutDir)/libgstbase.lib"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"
+ CommandLine="copy /Y $(TargetPath) c:\gstreamer\bin"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release"
+ IntermediateDirectory="Release"
+ ConfigurationType="2"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ AdditionalIncludeDirectories=".\;..\;..\libs;c:\usr\include"
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBGSTBASE_EXPORTS;HAVE_CONFIG_H;HAVE_WIN32"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="3"
+ CompileAs="1"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="glib-2.0.lib gobject-2.0.lib intl.lib"
+ OutputFile="$(OutDir)/libgstbase-0.9.dll"
+ LinkIncremental="1"
+ SuppressStartupBanner="TRUE"
+ AdditionalLibraryDirectories="c:\usr\lib"
+ ModuleDefinitionFile="libgstbase.def"
+ GenerateDebugInformation="TRUE"
+ SubSystem="2"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ ImportLibrary="$(OutDir)/libgstbase.lib"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"
+ CommandLine="copy /Y $(TargetPath) c:\gstreamer\bin"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
+ <File
+ RelativePath="..\gst\base\gstadapter.c">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstbasesink.c">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstbasesrc.c">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstbasetransform.c">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstcollectpads.c">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstpushsrc.c">
+ </File>
+ <File
+ RelativePath="..\gst\base\gsttypefindhelper.c">
+ </File>
+ <File
+ RelativePath=".\libgstbase.def">
+ </File>
+ <File
+ RelativePath=".\link_oldruntime.c">
+ </File>
+ <File
+ RelativePath=".\ulldvrm.obj">
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
+ <File
+ RelativePath="..\gst\base\gstadapter.h">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstbasesink.h">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstbasesrc.h">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstbasetransform.h">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstcollectpads.h">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstpushsrc.h">
+ </File>
+ <File
+ RelativePath="..\gst\base\gsttypefindhelper.h">
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/win32/link_oldruntime.c b/win32/link_oldruntime.c new file mode 100644 index 000000000..673e618a7 --- /dev/null +++ b/win32/link_oldruntime.c @@ -0,0 +1,10 @@ +#include <windows.h>
+
+//VC7 or later, building with pre-VC7 runtime libraries
+ long +_ftol2 (double dblSource) +{ + return _ftol (dblSource); +} + +
diff --git a/win32/vs7/libgstbase.def b/win32/vs7/libgstbase.def new file mode 100644 index 000000000..97e385494 --- /dev/null +++ b/win32/vs7/libgstbase.def @@ -0,0 +1,15 @@ +EXPORTS
+ gst_base_transform_set_passthrough
+ gst_base_transform_get_type
+ gst_base_sink_get_type
+ gst_base_src_set_live
+ gst_base_src_get_type
+ gst_base_src_is_live
+ gst_push_src_get_type
+ gst_type_find_helper
+ gst_collectpads_add_pad
+ gst_collectpads_pop
+ gst_collectpads_start
+ gst_collectpads_stop
+ gst_collectpads_set_function
+ gst_collectpads_new
diff --git a/win32/vs7/libgstbase.vcproj b/win32/vs7/libgstbase.vcproj new file mode 100644 index 000000000..9ecca0661 --- /dev/null +++ b/win32/vs7/libgstbase.vcproj @@ -0,0 +1,194 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="7.10"
+ Name="libgstbase"
+ ProjectGUID="{FE3C9C89-CD25-451D-8526-8726A4914EE9}"
+ Keyword="Win32Proj">
+ <Platforms>
+ <Platform
+ Name="Win32"/>
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug"
+ IntermediateDirectory="Debug"
+ ConfigurationType="2"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories=".\;..\;..\libs;c:\usr\include"
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBGSTBASE_EXPORTS;HAVE_CONFIG_H;HAVE_WIN32"
+ MinimalRebuild="TRUE"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="5"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="4"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="glib-2.0.lib gobject-2.0.lib intl.lib"
+ OutputFile="$(OutDir)/libgstbase.dll"
+ LinkIncremental="2"
+ AdditionalLibraryDirectories="c:\usr\lib"
+ ModuleDefinitionFile="libgstbase.def"
+ GenerateDebugInformation="TRUE"
+ ProgramDatabaseFile="$(OutDir)/libgstbase.pdb"
+ SubSystem="2"
+ ImportLibrary="$(OutDir)/libgstbase.lib"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"
+ CommandLine="copy /Y $(TargetPath) c:\gstreamer\bin"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release"
+ IntermediateDirectory="Release"
+ ConfigurationType="2"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ AdditionalIncludeDirectories=".\;..\;..\libs;c:\usr\include"
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBGSTBASE_EXPORTS;HAVE_CONFIG_H;HAVE_WIN32"
+ RuntimeLibrary="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="3"
+ CompileAs="1"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="glib-2.0.lib gobject-2.0.lib intl.lib"
+ OutputFile="$(OutDir)/libgstbase-0.9.dll"
+ LinkIncremental="1"
+ SuppressStartupBanner="TRUE"
+ AdditionalLibraryDirectories="c:\usr\lib"
+ ModuleDefinitionFile="libgstbase.def"
+ GenerateDebugInformation="TRUE"
+ SubSystem="2"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ ImportLibrary="$(OutDir)/libgstbase.lib"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"
+ CommandLine="copy /Y $(TargetPath) c:\gstreamer\bin"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
+ <File
+ RelativePath="..\gst\base\gstadapter.c">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstbasesink.c">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstbasesrc.c">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstbasetransform.c">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstcollectpads.c">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstpushsrc.c">
+ </File>
+ <File
+ RelativePath="..\gst\base\gsttypefindhelper.c">
+ </File>
+ <File
+ RelativePath=".\libgstbase.def">
+ </File>
+ <File
+ RelativePath=".\link_oldruntime.c">
+ </File>
+ <File
+ RelativePath=".\ulldvrm.obj">
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
+ <File
+ RelativePath="..\gst\base\gstadapter.h">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstbasesink.h">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstbasesrc.h">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstbasetransform.h">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstcollectpads.h">
+ </File>
+ <File
+ RelativePath="..\gst\base\gstpushsrc.h">
+ </File>
+ <File
+ RelativePath="..\gst\base\gsttypefindhelper.h">
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/win32/vs7/link_oldruntime.c b/win32/vs7/link_oldruntime.c new file mode 100644 index 000000000..673e618a7 --- /dev/null +++ b/win32/vs7/link_oldruntime.c @@ -0,0 +1,10 @@ +#include <windows.h>
+
+//VC7 or later, building with pre-VC7 runtime libraries
+ long +_ftol2 (double dblSource) +{ + return _ftol (dblSource); +} + +
|