[cairo-commit] cairomm/MSVC/cairomm .cvsignore, NONE, 1.1 Makefile.am, NONE, 1.1 cairomm.rc.in, NONE, 1.1 cairomm.vcproj, NONE, 1.1

Jonathon Jongsma commit at pdx.freedesktop.org
Fri Aug 18 18:22:54 PDT 2006


Committed by: jjongsma

Update of /cvs/cairo/cairomm/MSVC/cairomm
In directory kemper:/tmp/cvs-serv1157/MSVC/cairomm

Added Files:
	.cvsignore Makefile.am cairomm.rc.in cairomm.vcproj 
Log Message:
2006-08-18  Cedric Gustin  <cedric.gustin at gmail.com>

	* cairomm/context.cc: Define M_PI for MSVC.
	* cairomm/scaledfont.cc: Allocate glyph_array as a dynamic array
	as MSVC does not like non-const arguments as array size.
	* examples/pdf-surface/main.cc, examples/png_file/main.cc,
	examples/ps-surface/main.cc, examples/svg-surface/main.cc,
	examples/text-rotate/text-rotate.cc: Define M_PI for MSVC. 
	* configure.in, Makefile.am: Generate Makefiles in the MSVC
	subdirectories.  
	* .cvsignore: Added Eclipse .project to the list of ignored files.
	* MSVC/*: Added project and resource files for Visual Studio 2005.


--- NEW FILE: .cvsignore ---
Makefile
Makefile.in
Debug
Release
cairomm.def
cairomm_d.def
cairomm.rc
cairomm.aps

--- NEW FILE: Makefile.am ---
BUILT_SOURCES = cairomm.rc

MAINTAINERCLEANFILES = $(built_sources)

EXTRA_DIST = cairomm.vcproj cairomm.rc

--- NEW FILE: cairomm.rc.in ---
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS

#include "afxres.h"

#undef APSTUDIO_READONLY_SYMBOLS

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32

#ifdef APSTUDIO_INVOKED

1 TEXTINCLUDE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE 
BEGIN
    "#include ""afxres.h""\r\n"
    "\0"
END

3 TEXTINCLUDE 
BEGIN
    "\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED

VS_VERSION_INFO VERSIONINFO
 FILEVERSION @GENERIC_MAJOR_VERSION@, at GENERIC_MINOR_VERSION@, at GENERIC_MICRO_VERSION@,1
 PRODUCTVERSION @GENERIC_MAJOR_VERSION@, at GENERIC_MINOR_VERSION@, at GENERIC_MICRO_VERSION@,1
 FILEFLAGSMASK 0x17L
#ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif
 FILEOS 0x4L
 FILETYPE 0x2L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904b0"
        BEGIN
            VALUE "CompanyName", "The cairomm development team (see AUTHORS)"
            VALUE "FileDescription", "The official C++ wrapper for cairo"
            VALUE "FileVersion", "@VERSION@"
            VALUE "LegalCopyright", "Distribution is under the LGPL (see COPYING)"
            VALUE "OriginalFilename", "cairomm-1.0"
            VALUE "ProductName", "cairomm"
            VALUE "ProductVersion", "@VERSION@"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END

#endif    // English (U.S.) resources

#ifndef APSTUDIO_INVOKED

#endif    // not APSTUDIO_INVOKED

--- NEW FILE: cairomm.vcproj ---
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
	ProjectType="Visual C++"
	Version="8.00"
	Name="cairomm-1.0"
	ProjectGUID="{58B2B53C-C4FF-47FD-817B-095E45B7F7D4}"
	RootNamespace="glibmm"
	Keyword="Win32Proj"
	>
	<Platforms>
		<Platform
			Name="Win32"
		/>
	</Platforms>
	<ToolFiles>
	</ToolFiles>
	<Configurations>
		<Configuration
			Name="Debug|Win32"
			OutputDirectory="Debug"
			IntermediateDirectory="Debug"
			ConfigurationType="2"
			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=".;../.."
				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;GLIBMM_BUILD"
				MinimalRebuild="true"
				BasicRuntimeChecks="3"
				RuntimeLibrary="3"
				RuntimeTypeInfo="true"
				UsePrecompiledHeader="0"
				WarningLevel="3"
				Detect64BitPortabilityProblems="false"
				DebugInformationFormat="4"
			/>
			<Tool
				Name="VCManagedResourceCompilerTool"
			/>
			<Tool
				Name="VCResourceCompilerTool"
			/>
			<Tool
				Name="VCPreLinkEventTool"
				Description="Generate cairomm def file"
				CommandLine="$(SolutionDir)gendef\$(ConfigurationName)\gendef $(ConfigurationName)\$(InputName).def $(TargetFileName) $(IntDir)\*.obj"
				ExcludedFromBuild="false"
			/>
			<Tool
				Name="VCLinkerTool"
				AdditionalDependencies="cairo.lib"
				OutputFile="$(OutDir)/$(ProjectName)d.dll"
				GenerateManifest="true"
				ModuleDefinitionFile="$(ConfigurationName)\$(InputName).def"
				GenerateDebugInformation="true"
			/>
			<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="2"
			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=".;../.."
				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;GLIBMM_BUILD"
				RuntimeLibrary="2"
				RuntimeTypeInfo="true"
				UsePrecompiledHeader="0"
				WarningLevel="3"
				Detect64BitPortabilityProblems="false"
				DebugInformationFormat="3"
			/>
			<Tool
				Name="VCManagedResourceCompilerTool"
			/>
			<Tool
				Name="VCResourceCompilerTool"
			/>
			<Tool
				Name="VCPreLinkEventTool"
				Description="Generate cairomm def file"
				CommandLine="$(SolutionDir)gendef\$(ConfigurationName)\gendef $(ConfigurationName)\$(InputName).def $(TargetFileName) $(IntDir)\*.obj"
				ExcludedFromBuild="false"
			/>
			<Tool
				Name="VCLinkerTool"
				AdditionalDependencies="cairo.lib"
				GenerateManifest="true"
				ModuleDefinitionFile="$(ConfigurationName)\$(InputName).def"
			/>
			<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="..\..\cairomm\context.cc"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\exception.cc"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\fontface.cc"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\fontoptions.cc"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\path.cc"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\pattern.cc"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\private.cc"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\scaledfont.cc"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\surface.cc"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\win32_surface.cc"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\xlib_surface.cc"
				>
			</File>
		</Filter>
		<Filter
			Name="Header Files"
			Filter="h;hpp;hxx;hm;inl;inc;xsd"
			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
			>
			<File
				RelativePath="..\..\cairomm\cairomm.h"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\context.h"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\enums.h"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\exception.h"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\fontface.h"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\fontoptions.h"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\path.h"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\pattern.h"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\private.h"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\refptr.h"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\scaledfont.h"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\surface.h"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\win32_surface.h"
				>
			</File>
			<File
				RelativePath="..\..\cairomm\xlib_surface.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}"
			>
			<File
				RelativePath=".\cairomm.rc"
				>
			</File>
		</Filter>
	</Files>
	<Globals>
	</Globals>
</VisualStudioProject>



More information about the cairo-commit mailing list