diff options
author | Jonathon Jongsma <jjongsma@gnome.org> | 2006-08-20 03:09:37 +0000 |
---|---|---|
committer | Jonathon Jongsma <jjongsma@gnome.org> | 2006-08-20 03:09:37 +0000 |
commit | f9b10f7d4ba04dc4864cea982b95ed5abaa9ba11 (patch) | |
tree | 8c67d187202e5ac57c2616870872d79a06a7635f | |
parent | 343e3118fdec5cee1bf83c8121da07e1706f59e3 (diff) |
Hopefully they'll get added for real this time
-rw-r--r-- | MSVC/examples/.cvsignore | 3 | ||||
-rw-r--r-- | MSVC/examples/Makefile.am | 1 | ||||
-rw-r--r-- | MSVC/examples/pdf-surface/.cvsignore | 4 | ||||
-rw-r--r-- | MSVC/examples/pdf-surface/Makefile.am | 1 | ||||
-rw-r--r-- | MSVC/examples/pdf-surface/pdf-surface.vcproj | 213 | ||||
-rw-r--r-- | MSVC/examples/png_file/.cvsignore | 4 | ||||
-rw-r--r-- | MSVC/examples/png_file/Makefile.am | 1 | ||||
-rw-r--r-- | MSVC/examples/png_file/png_file.vcproj | 213 | ||||
-rw-r--r-- | MSVC/examples/ps-surface/.cvsignore | 4 | ||||
-rw-r--r-- | MSVC/examples/ps-surface/Makefile.am | 1 | ||||
-rw-r--r-- | MSVC/examples/ps-surface/ps-surface.vcproj | 213 | ||||
-rw-r--r-- | MSVC/examples/svg-surface/.cvsignore | 4 | ||||
-rw-r--r-- | MSVC/examples/svg-surface/Makefile.am | 1 | ||||
-rw-r--r-- | MSVC/examples/svg-surface/svg-surface.vcproj | 213 | ||||
-rw-r--r-- | MSVC/examples/text-rotate/.cvsignore | 4 | ||||
-rw-r--r-- | MSVC/examples/text-rotate/Makefile.am | 1 | ||||
-rw-r--r-- | MSVC/examples/text-rotate/text-rotate.vcproj | 213 | ||||
-rw-r--r-- | MSVC/gendef/.cvsignore | 4 | ||||
-rw-r--r-- | MSVC/gendef/Makefile.am | 2 | ||||
-rw-r--r-- | MSVC/gendef/gendef.cc | 94 | ||||
-rw-r--r-- | MSVC/gendef/gendef.vcproj | 206 |
21 files changed, 1400 insertions, 0 deletions
diff --git a/MSVC/examples/.cvsignore b/MSVC/examples/.cvsignore new file mode 100644 index 0000000..22a4e72 --- /dev/null +++ b/MSVC/examples/.cvsignore @@ -0,0 +1,3 @@ +Makefile +Makefile.in + diff --git a/MSVC/examples/Makefile.am b/MSVC/examples/Makefile.am new file mode 100644 index 0000000..a436d38 --- /dev/null +++ b/MSVC/examples/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = pdf-surface png_file ps-surface svg-surface text-rotate diff --git a/MSVC/examples/pdf-surface/.cvsignore b/MSVC/examples/pdf-surface/.cvsignore new file mode 100644 index 0000000..a973b4d --- /dev/null +++ b/MSVC/examples/pdf-surface/.cvsignore @@ -0,0 +1,4 @@ +Makefile +Makefile.in +Debug +Release diff --git a/MSVC/examples/pdf-surface/Makefile.am b/MSVC/examples/pdf-surface/Makefile.am new file mode 100644 index 0000000..e94dba1 --- /dev/null +++ b/MSVC/examples/pdf-surface/Makefile.am @@ -0,0 +1 @@ +EXTRA_DIST = pdf-surface.vcproj diff --git a/MSVC/examples/pdf-surface/pdf-surface.vcproj b/MSVC/examples/pdf-surface/pdf-surface.vcproj new file mode 100644 index 0000000..4b33ff7 --- /dev/null +++ b/MSVC/examples/pdf-surface/pdf-surface.vcproj @@ -0,0 +1,213 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="8.00" + Name="examples_pdf-surface" + ProjectGUID="{129ECC08-6D30-4884-B824-4AF96EF0A45C}" + RootNamespace="examples_dispatcher" + Keyword="Win32Proj" + > + <Platforms> + <Platform + Name="Win32" + /> + </Platforms> + <ToolFiles> + </ToolFiles> + <Configurations> + <Configuration + Name="Debug|Win32" + OutputDirectory="Debug" + IntermediateDirectory="Debug" + ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" + CharacterSet="2" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + AdditionalIncludeDirectories=""$(SolutionDir)\.."" + PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" + MinimalRebuild="true" + BasicRuntimeChecks="3" + RuntimeLibrary="3" + RuntimeTypeInfo="true" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="4" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="cairo.lib" + OutputFile="$(OutDir)/$(ProjectName).exe" + LinkIncremental="2" + GenerateManifest="true" + GenerateDebugInformation="true" + ProgramDatabaseFile="$(OutDir)/$(TargetName).pdb" + SubSystem="1" + TargetMachine="1" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration + Name="Release|Win32" + OutputDirectory="Release" + IntermediateDirectory="Release" + ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" + CharacterSet="2" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + AdditionalIncludeDirectories=""$(SolutionDir)\.."" + PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" + RuntimeLibrary="2" + RuntimeTypeInfo="true" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="cairo.lib" + OutputFile="$(OutDir)/$(ProjectName).exe" + LinkIncremental="1" + GenerateManifest="true" + GenerateDebugInformation="false" + SubSystem="1" + OptimizeReferences="2" + EnableCOMDATFolding="2" + TargetMachine="1" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </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="..\..\blank.cpp" + > + </File> + <File + RelativePath="..\..\..\examples\pdf-surface\main.cc" + > + </File> + </Filter> + <Filter + Name="Header Files" + Filter="h;hpp;hxx;hm;inl;inc;xsd" + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" + > + </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/MSVC/examples/png_file/.cvsignore b/MSVC/examples/png_file/.cvsignore new file mode 100644 index 0000000..a973b4d --- /dev/null +++ b/MSVC/examples/png_file/.cvsignore @@ -0,0 +1,4 @@ +Makefile +Makefile.in +Debug +Release diff --git a/MSVC/examples/png_file/Makefile.am b/MSVC/examples/png_file/Makefile.am new file mode 100644 index 0000000..41f7722 --- /dev/null +++ b/MSVC/examples/png_file/Makefile.am @@ -0,0 +1 @@ +EXTRA_DIST = png_file.vcproj diff --git a/MSVC/examples/png_file/png_file.vcproj b/MSVC/examples/png_file/png_file.vcproj new file mode 100644 index 0000000..364ddc3 --- /dev/null +++ b/MSVC/examples/png_file/png_file.vcproj @@ -0,0 +1,213 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="8.00" + Name="examples_png_file" + ProjectGUID="{45EEED29-0231-45C6-9682-CAB2E042C51E}" + RootNamespace="examples_dispatcher" + Keyword="Win32Proj" + > + <Platforms> + <Platform + Name="Win32" + /> + </Platforms> + <ToolFiles> + </ToolFiles> + <Configurations> + <Configuration + Name="Debug|Win32" + OutputDirectory="Debug" + IntermediateDirectory="Debug" + ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" + CharacterSet="2" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + AdditionalIncludeDirectories=""$(SolutionDir)\.."" + PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" + MinimalRebuild="true" + BasicRuntimeChecks="3" + RuntimeLibrary="3" + RuntimeTypeInfo="true" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="4" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="cairo.lib" + OutputFile="$(OutDir)/$(ProjectName).exe" + LinkIncremental="2" + GenerateManifest="true" + GenerateDebugInformation="true" + ProgramDatabaseFile="$(OutDir)/$(TargetName).pdb" + SubSystem="1" + TargetMachine="1" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration + Name="Release|Win32" + OutputDirectory="Release" + IntermediateDirectory="Release" + ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" + CharacterSet="2" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + AdditionalIncludeDirectories=""$(SolutionDir)\.."" + PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" + RuntimeLibrary="2" + RuntimeTypeInfo="true" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="cairo.lib" + OutputFile="$(OutDir)/$(ProjectName).exe" + LinkIncremental="1" + GenerateManifest="true" + GenerateDebugInformation="false" + SubSystem="1" + OptimizeReferences="2" + EnableCOMDATFolding="2" + TargetMachine="1" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </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="..\..\blank.cpp" + > + </File> + <File + RelativePath="..\..\..\examples\png_file\main.cc" + > + </File> + </Filter> + <Filter + Name="Header Files" + Filter="h;hpp;hxx;hm;inl;inc;xsd" + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" + > + </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/MSVC/examples/ps-surface/.cvsignore b/MSVC/examples/ps-surface/.cvsignore new file mode 100644 index 0000000..a973b4d --- /dev/null +++ b/MSVC/examples/ps-surface/.cvsignore @@ -0,0 +1,4 @@ +Makefile +Makefile.in +Debug +Release diff --git a/MSVC/examples/ps-surface/Makefile.am b/MSVC/examples/ps-surface/Makefile.am new file mode 100644 index 0000000..d827e57 --- /dev/null +++ b/MSVC/examples/ps-surface/Makefile.am @@ -0,0 +1 @@ +EXTRA_DIST = ps-surface.vcproj diff --git a/MSVC/examples/ps-surface/ps-surface.vcproj b/MSVC/examples/ps-surface/ps-surface.vcproj new file mode 100644 index 0000000..5100f8f --- /dev/null +++ b/MSVC/examples/ps-surface/ps-surface.vcproj @@ -0,0 +1,213 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="8.00" + Name="examples_ps-surface" + ProjectGUID="{CAE46373-7375-4607-AAB7-0EBA8F0E5B55}" + RootNamespace="examples_dispatcher" + Keyword="Win32Proj" + > + <Platforms> + <Platform + Name="Win32" + /> + </Platforms> + <ToolFiles> + </ToolFiles> + <Configurations> + <Configuration + Name="Debug|Win32" + OutputDirectory="Debug" + IntermediateDirectory="Debug" + ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" + CharacterSet="2" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + AdditionalIncludeDirectories=""$(SolutionDir)\.."" + PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" + MinimalRebuild="true" + BasicRuntimeChecks="3" + RuntimeLibrary="3" + RuntimeTypeInfo="true" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="4" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="cairo.lib" + OutputFile="$(OutDir)/$(ProjectName).exe" + LinkIncremental="2" + GenerateManifest="true" + GenerateDebugInformation="true" + ProgramDatabaseFile="$(OutDir)/$(TargetName).pdb" + SubSystem="1" + TargetMachine="1" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration + Name="Release|Win32" + OutputDirectory="Release" + IntermediateDirectory="Release" + ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" + CharacterSet="2" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + AdditionalIncludeDirectories=""$(SolutionDir)\.."" + PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" + RuntimeLibrary="2" + RuntimeTypeInfo="true" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="cairo.lib" + OutputFile="$(OutDir)/$(ProjectName).exe" + LinkIncremental="1" + GenerateManifest="true" + GenerateDebugInformation="false" + SubSystem="1" + OptimizeReferences="2" + EnableCOMDATFolding="2" + TargetMachine="1" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </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="..\..\blank.cpp" + > + </File> + <File + RelativePath="..\..\..\examples\ps-surface\main.cc" + > + </File> + </Filter> + <Filter + Name="Header Files" + Filter="h;hpp;hxx;hm;inl;inc;xsd" + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" + > + </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/MSVC/examples/svg-surface/.cvsignore b/MSVC/examples/svg-surface/.cvsignore new file mode 100644 index 0000000..a973b4d --- /dev/null +++ b/MSVC/examples/svg-surface/.cvsignore @@ -0,0 +1,4 @@ +Makefile +Makefile.in +Debug +Release diff --git a/MSVC/examples/svg-surface/Makefile.am b/MSVC/examples/svg-surface/Makefile.am new file mode 100644 index 0000000..4ce523e --- /dev/null +++ b/MSVC/examples/svg-surface/Makefile.am @@ -0,0 +1 @@ +EXTRA_DIST = svg-surface.vcproj diff --git a/MSVC/examples/svg-surface/svg-surface.vcproj b/MSVC/examples/svg-surface/svg-surface.vcproj new file mode 100644 index 0000000..4397833 --- /dev/null +++ b/MSVC/examples/svg-surface/svg-surface.vcproj @@ -0,0 +1,213 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="8.00" + Name="examples_svg-surface" + ProjectGUID="{BCA44D2B-1832-41F5-9EE9-FE1F709EE584}" + RootNamespace="examples_dispatcher" + Keyword="Win32Proj" + > + <Platforms> + <Platform + Name="Win32" + /> + </Platforms> + <ToolFiles> + </ToolFiles> + <Configurations> + <Configuration + Name="Debug|Win32" + OutputDirectory="Debug" + IntermediateDirectory="Debug" + ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" + CharacterSet="2" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + AdditionalIncludeDirectories=""$(SolutionDir)\.."" + PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" + MinimalRebuild="true" + BasicRuntimeChecks="3" + RuntimeLibrary="3" + RuntimeTypeInfo="true" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="4" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="cairo.lib" + OutputFile="$(OutDir)/$(ProjectName).exe" + LinkIncremental="2" + GenerateManifest="true" + GenerateDebugInformation="true" + ProgramDatabaseFile="$(OutDir)/$(TargetName).pdb" + SubSystem="1" + TargetMachine="1" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration + Name="Release|Win32" + OutputDirectory="Release" + IntermediateDirectory="Release" + ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" + CharacterSet="2" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + AdditionalIncludeDirectories=""$(SolutionDir)\.."" + PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" + RuntimeLibrary="2" + RuntimeTypeInfo="true" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="cairo.lib" + OutputFile="$(OutDir)/$(ProjectName).exe" + LinkIncremental="1" + GenerateManifest="true" + GenerateDebugInformation="false" + SubSystem="1" + OptimizeReferences="2" + EnableCOMDATFolding="2" + TargetMachine="1" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </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="..\..\blank.cpp" + > + </File> + <File + RelativePath="..\..\..\examples\svg-surface\main.cc" + > + </File> + </Filter> + <Filter + Name="Header Files" + Filter="h;hpp;hxx;hm;inl;inc;xsd" + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" + > + </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/MSVC/examples/text-rotate/.cvsignore b/MSVC/examples/text-rotate/.cvsignore new file mode 100644 index 0000000..a973b4d --- /dev/null +++ b/MSVC/examples/text-rotate/.cvsignore @@ -0,0 +1,4 @@ +Makefile +Makefile.in +Debug +Release diff --git a/MSVC/examples/text-rotate/Makefile.am b/MSVC/examples/text-rotate/Makefile.am new file mode 100644 index 0000000..6eb15e4 --- /dev/null +++ b/MSVC/examples/text-rotate/Makefile.am @@ -0,0 +1 @@ +EXTRA_DIST = text-rotate.vcproj diff --git a/MSVC/examples/text-rotate/text-rotate.vcproj b/MSVC/examples/text-rotate/text-rotate.vcproj new file mode 100644 index 0000000..ec6bc50 --- /dev/null +++ b/MSVC/examples/text-rotate/text-rotate.vcproj @@ -0,0 +1,213 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="8.00" + Name="examples_text-rotate" + ProjectGUID="{F4D455E4-464D-49CC-A120-DB9B8AE0207E}" + RootNamespace="examples_dispatcher" + Keyword="Win32Proj" + > + <Platforms> + <Platform + Name="Win32" + /> + </Platforms> + <ToolFiles> + </ToolFiles> + <Configurations> + <Configuration + Name="Debug|Win32" + OutputDirectory="Debug" + IntermediateDirectory="Debug" + ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" + CharacterSet="2" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + AdditionalIncludeDirectories=""$(SolutionDir)\.."" + PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" + MinimalRebuild="true" + BasicRuntimeChecks="3" + RuntimeLibrary="3" + RuntimeTypeInfo="true" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="4" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="cairo.lib" + OutputFile="$(OutDir)/$(ProjectName).exe" + LinkIncremental="2" + GenerateManifest="true" + GenerateDebugInformation="true" + ProgramDatabaseFile="$(OutDir)/$(TargetName).pdb" + SubSystem="1" + TargetMachine="1" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration + Name="Release|Win32" + OutputDirectory="Release" + IntermediateDirectory="Release" + ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" + CharacterSet="2" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + AdditionalIncludeDirectories=""$(SolutionDir)\.."" + PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" + RuntimeLibrary="2" + RuntimeTypeInfo="true" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="cairo.lib" + OutputFile="$(OutDir)/$(ProjectName).exe" + LinkIncremental="1" + GenerateManifest="true" + GenerateDebugInformation="false" + SubSystem="1" + OptimizeReferences="2" + EnableCOMDATFolding="2" + TargetMachine="1" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </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="..\..\blank.cpp" + > + </File> + <File + RelativePath="..\..\..\examples\text-rotate\text-rotate.cc" + > + </File> + </Filter> + <Filter + Name="Header Files" + Filter="h;hpp;hxx;hm;inl;inc;xsd" + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" + > + </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/MSVC/gendef/.cvsignore b/MSVC/gendef/.cvsignore new file mode 100644 index 0000000..a973b4d --- /dev/null +++ b/MSVC/gendef/.cvsignore @@ -0,0 +1,4 @@ +Makefile +Makefile.in +Debug +Release diff --git a/MSVC/gendef/Makefile.am b/MSVC/gendef/Makefile.am new file mode 100644 index 0000000..3a435c3 --- /dev/null +++ b/MSVC/gendef/Makefile.am @@ -0,0 +1,2 @@ +EXTRA_DIST = gendef.vcproj gendef.cc + diff --git a/MSVC/gendef/gendef.cc b/MSVC/gendef/gendef.cc new file mode 100644 index 0000000..cf66560 --- /dev/null +++ b/MSVC/gendef/gendef.cc @@ -0,0 +1,94 @@ +/* + * MICO --- an Open Source CORBA implementation + * Copyright (c) 2003 Harald Böhme + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * For more information, visit the MICO Home Page at + * http://www.mico.org/ + */ + +/* Modified by Cedric Gustin <cedric.gustin@gmail.com> on 2006/01/13 : + * Redirect the output of dumpbin to dumpbin.out instead of reading the + * output stream of popen, as it fails with Visual Studio 2005 in + * pre-link build events. + */ + +#include <iostream> +#include <fstream> +#include <stdio.h> + +using namespace std; + +int main(int argc,char** argv) +{ + if (argc < 4) { + cerr << "Usage: " << argv[0] << " <def-file-name> <dll-base-name> <obj-file> ...." << endl; + return 2; + } + + // CG : Explicitly redirect stdout to dumpbin.out. + string dumpbin = "dumpbin /SYMBOLS /OUT:dumpbin.out"; + int i = 3; + + for(;i<argc;) { + dumpbin += " "; + dumpbin += argv[i++]; + } + + FILE * dump; + + if( (dump = _popen(dumpbin.c_str(),"r")) == NULL ) { + cerr << "could not popen dumpbin" << endl; + return 3; + } + + // CG : Wait for the dumpbin process to finish and open dumpbin.out. + _pclose(dump); + dump=fopen("dumpbin.out","r"); + + ofstream def_file(argv[1]); + + def_file << "LIBRARY " << argv[2] << endl; + def_file << "EXPORTS" << endl; + + i=0; + while( !feof(dump)) { + char buf [65000]; + + if( fgets( buf, 64999, dump ) != NULL ) { + if(!strstr(buf," UNDEF ") && strstr(buf," External ")) { + char *s = strchr(buf,'|') + 1; + while(*s == ' ' || *s == '\t') s++; + char *e=s; + while(*e != ' ' && *e != '\t' && *e != '\0' && *e!= '\n') e++; + *e = '\0'; + + if(strchr(s,'?')==0 && s[0]=='_' && strchr(s,'@') == 0 )//this is a C export type: _fct -> fct + def_file << " " << (s+1) << endl; + else + if(strchr(s,'?')!=0 && strncmp(s,"??_G",4)!=0 && strncmp(s,"??_E",4)!=0) { + def_file << " " << s << endl; + } + } + } + } + + // CG : Close dumpbin.out and delete it. + fclose(dump); + remove("dumpbin.out"); + + cout << dumpbin.c_str() << endl; +} diff --git a/MSVC/gendef/gendef.vcproj b/MSVC/gendef/gendef.vcproj new file mode 100644 index 0000000..fb05b48 --- /dev/null +++ b/MSVC/gendef/gendef.vcproj @@ -0,0 +1,206 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="8.00" + Name="gendef" + ProjectGUID="{07324745-C9BE-4D65-B08A-9C88188C0C28}" + Keyword="Win32Proj" + > + <Platforms> + <Platform + Name="Win32" + /> + </Platforms> + <ToolFiles> + </ToolFiles> + <Configurations> + <Configuration + Name="Debug|Win32" + OutputDirectory="Debug" + IntermediateDirectory="Debug" + ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" + CharacterSet="2" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" + MinimalRebuild="true" + BasicRuntimeChecks="3" + RuntimeLibrary="1" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="4" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + OutputFile="$(OutDir)/gendef.exe" + LinkIncremental="2" + GenerateManifest="true" + GenerateDebugInformation="true" + ProgramDatabaseFile="$(OutDir)/$(TargetName).pdb" + SubSystem="1" + TargetMachine="1" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration + Name="Release|Win32" + OutputDirectory="Release" + IntermediateDirectory="Release" + ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" + CharacterSet="2" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" + RuntimeLibrary="0" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + OutputFile="$(OutDir)/gendef.exe" + LinkIncremental="1" + GenerateManifest="false" + GenerateDebugInformation="true" + SubSystem="1" + OptimizeReferences="2" + EnableCOMDATFolding="2" + TargetMachine="1" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </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="..\blank.cpp" + > + </File> + <File + RelativePath=".\gendef.cc" + > + </File> + </Filter> + <Filter + Name="Header Files" + Filter="h;hpp;hxx;hm;inl;inc;xsd" + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" + > + </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> |