diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2014-09-18 17:08:27 +0800 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2015-08-20 20:28:38 +0200 |
commit | 7b39f3c13da3c6e4b7d0b6d91eb5687db847f8d0 (patch) | |
tree | 6a184423afa80688f1415bbb8a2594402d358828 | |
parent | 3ca03055ff861f803129ef776370ee8cd58d0c36 (diff) |
Overhaul The Visual Studio 2010 Projects
Like the Visual Studio 2008 Projects, give the Visual Studio 2010 Projects
an overhaul by using property sheets to consolidate commonly-used items,
and moving all the projects to MSVC_Net2010, so that they can be more easily
maintained.
https://bugs.freedesktop.org/show_bug.cgi?id=84030
-rw-r--r-- | MSVC_Net2010/cairomm-build-defines.props | 37 | ||||
-rw-r--r-- | MSVC_Net2010/cairomm-version-paths.props | 42 | ||||
-rw-r--r-- | MSVC_Net2010/cairomm.sln | 18 | ||||
-rw-r--r-- | MSVC_Net2010/cairomm.vcxproj (renamed from MSVC_Net2010/cairomm/cairomm.vcxproj) | 181 | ||||
-rw-r--r-- | MSVC_Net2010/cairomm.vcxproj.filters | 70 | ||||
-rw-r--r-- | MSVC_Net2010/cairomm/cairomm.vcxproj.filters | 164 | ||||
-rw-r--r-- | MSVC_Net2010/filelist.am | 38 | ||||
-rw-r--r-- | MSVC_Net2010/gendef.vcxproj (renamed from MSVC_Net2010/gendef/gendef.vcxproj) | 39 | ||||
-rw-r--r-- | MSVC_Net2010/gendef.vcxproj.filters (renamed from MSVC_Net2010/gendef/gendef.vcxproj.filters) | 4 | ||||
-rw-r--r-- | MSVC_Net2010/image-surface.vcxproj (renamed from MSVC_Net2010/examples/image-surface/image-surface.vcxproj) | 49 | ||||
-rw-r--r-- | MSVC_Net2010/image-surface.vcxproj.filters (renamed from MSVC_Net2010/examples/image-surface/image-surface.vcxproj.filters) | 4 | ||||
-rw-r--r-- | MSVC_Net2010/pdf-surface.vcxproj (renamed from MSVC_Net2010/examples/pdf-surface/pdf-surface.vcxproj) | 49 | ||||
-rw-r--r-- | MSVC_Net2010/pdf-surface.vcxproj.filters (renamed from MSVC_Net2010/examples/pdf-surface/pdf-surface.vcxproj.filters) | 4 | ||||
-rw-r--r-- | MSVC_Net2010/ps-surface.vcxproj (renamed from MSVC_Net2010/examples/ps-surface/ps-surface.vcxproj) | 49 | ||||
-rw-r--r-- | MSVC_Net2010/ps-surface.vcxproj.filters (renamed from MSVC_Net2010/examples/ps-surface/ps-surface.vcxproj.filters) | 4 | ||||
-rw-r--r-- | MSVC_Net2010/svg-surface.vcxproj (renamed from MSVC_Net2010/examples/svg-surface/svg-surface.vcxproj) | 49 | ||||
-rw-r--r-- | MSVC_Net2010/svg-surface.vcxproj.filters (renamed from MSVC_Net2010/examples/svg-surface/svg-surface.vcxproj.filters) | 4 | ||||
-rw-r--r-- | MSVC_Net2010/text-rotate.vcxproj (renamed from MSVC_Net2010/examples/text-rotate/text-rotate.vcxproj) | 49 | ||||
-rw-r--r-- | MSVC_Net2010/text-rotate.vcxproj.filters (renamed from MSVC_Net2010/examples/text-rotate/text-rotate.vcxproj.filters) | 4 | ||||
-rw-r--r-- | MSVC_Net2010/toy-text.vcxproj (renamed from MSVC_Net2010/examples/toy-text/toy-text.vcxproj) | 49 | ||||
-rw-r--r-- | MSVC_Net2010/toy-text.vcxproj.filters (renamed from MSVC_Net2010/examples/toy-text/toy-text.vcxproj.filters) | 4 | ||||
-rw-r--r-- | MSVC_Net2010/user-font.vcxproj (renamed from MSVC_Net2010/examples/user-font/user-font.vcxproj) | 49 | ||||
-rw-r--r-- | MSVC_Net2010/user-font.vcxproj.filters (renamed from MSVC_Net2010/examples/user-font/user-font.vcxproj.filters) | 4 |
23 files changed, 415 insertions, 549 deletions
diff --git a/MSVC_Net2010/cairomm-build-defines.props b/MSVC_Net2010/cairomm-build-defines.props new file mode 100644 index 0000000..6a26ad4 --- /dev/null +++ b/MSVC_Net2010/cairomm-build-defines.props @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ImportGroup Label="PropertySheets"> + <Import Project="cairomm-version-paths.props" /> + </ImportGroup> + <PropertyGroup Label="UserMacros"> + <CairoMMBuildDefs>CAIROMM_BUILD</CairoMMBuildDefs> + <CPPDepLibsRelease>sigc-vc$(VSVer)0-2_0.lib</CPPDepLibsRelease> + <CPPDepLibsDebug>sigc-vc$(VSVer)0-d-2_0.lib</CPPDepLibsDebug> + </PropertyGroup> + <PropertyGroup> + <_PropertySheetDisplayName>glibmmbuilddefinesprops</_PropertySheetDisplayName> + <OutDir>$(SolutionDir)$(Configuration)\$(PlatformName)\bin\</OutDir> + <IntDir>$(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\</IntDir> + </PropertyGroup> + <ItemDefinitionGroup> + <ClCompile> + <AdditionalIncludeDirectories>.\cairomm;..;$(GlibEtcInstallRoot)\include\sigc++-2.0;$(GlibEtcInstallRoot)\lib\sigc++-2.0\include;$(GlibEtcInstallRoot)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <ForcedIncludeFiles>msvc_recommended_pragmas.h;%(ForcedIncludeFiles)</ForcedIncludeFiles> + </ClCompile> + <Link> + <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> + <AdditionalLibraryDirectories>$(GlibEtcInstallRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> + </Link> + </ItemDefinitionGroup> + <ItemGroup> + <BuildMacro Include="CairoMMBuildDefs"> + <Value>$(CairoMMBuildDefs)</Value> + </BuildMacro> + <BuildMacro Include="CPPDepLibsRelease"> + <Value>$(CPPDepLibsRelease)</Value> + </BuildMacro> + <BuildMacro Include="CPPDepLibsDebug"> + <Value>$(CPPDepLibsDebug)</Value> + </BuildMacro> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/MSVC_Net2010/cairomm-version-paths.props b/MSVC_Net2010/cairomm-version-paths.props new file mode 100644 index 0000000..5feb09c --- /dev/null +++ b/MSVC_Net2010/cairomm-version-paths.props @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup Label="UserMacros"> + <VSVer>10</VSVer> + <GlibEtcInstallRoot>$(SolutionDir)\..\..\vs$(VSVer)\$(Platform)</GlibEtcInstallRoot> + <CopyDir>$(GlibEtcInstallRoot)</CopyDir> + <DefDir>$(SolutionDir)$(Configuration)\$(Platform)\obj\$(ProjectName)\</DefDir> + <ApiMajorVersion>1</ApiMajorVersion> + <ApiMinorVersion>0</ApiMinorVersion> + <ReleaseDllSuffix>-vc$(VSVer)0-$(ApiMajorVersion)_$(ApiMinorVersion)</ReleaseDllSuffix> + <DebugDllSuffix>-vc$(VSVer)0-d-$(ApiMajorVersion)_$(ApiMinorVersion)</DebugDllSuffix> + </PropertyGroup> + <PropertyGroup> + <_PropertySheetDisplayName>glibmmversionpathsprops</_PropertySheetDisplayName> + </PropertyGroup> + <ItemGroup> + <BuildMacro Include="VSVer"> + <Value>$(VSVer)</Value> + </BuildMacro> + <BuildMacro Include="GlibEtcInstallRoot"> + <Value>$(GlibEtcInstallRoot)</Value> + </BuildMacro> + <BuildMacro Include="CopyDir"> + <Value>$(CopyDir)</Value> + </BuildMacro> + <BuildMacro Include="DefDir"> + <Value>$(DefDir)</Value> + </BuildMacro> + <BuildMacro Include="ApiMajorVersion"> + <Value>$(ApiMajorVersion)</Value> + </BuildMacro> + <BuildMacro Include="ApiMinorVersion"> + <Value>$(ApiMinorVersion)</Value> + </BuildMacro> + <BuildMacro Include="ReleaseDllSuffix"> + <Value>$(ReleaseDllSuffix)</Value> + </BuildMacro> + <BuildMacro Include="DebugDllSuffix"> + <Value>$(DebugDllSuffix)</Value> + </BuildMacro> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/MSVC_Net2010/cairomm.sln b/MSVC_Net2010/cairomm.sln index 1e90c05..0be2944 100644 --- a/MSVC_Net2010/cairomm.sln +++ b/MSVC_Net2010/cairomm.sln @@ -1,22 +1,22 @@ Microsoft Visual Studio Solution File, Format Version 11.00 # Visual Studio 2010 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gendef", "gendef\gendef.vcxproj", "{07324745-C9BE-4D65-B08A-9C88188C0C28}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gendef", "gendef.vcxproj", "{07324745-C9BE-4D65-B08A-9C88188C0C28}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cairomm-1.0", "cairomm\cairomm.vcxproj", "{58B2B53C-C4FF-47FD-817B-095E45B7F7D4}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cairomm", "cairomm.vcxproj", "{58B2B53C-C4FF-47FD-817B-095E45B7F7D4}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "examples_pdf-surface", "examples\pdf-surface\pdf-surface.vcxproj", "{129ECC08-6D30-4884-B824-4AF96EF0A45C}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pdf-surface", "pdf-surface.vcxproj", "{129ECC08-6D30-4884-B824-4AF96EF0A45C}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "examples_ps-surface", "examples\ps-surface\ps-surface.vcxproj", "{CAE46373-7375-4607-AAB7-0EBA8F0E5B55}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ps-surface", "ps-surface.vcxproj", "{CAE46373-7375-4607-AAB7-0EBA8F0E5B55}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "examples_svg-surface", "examples\svg-surface\svg-surface.vcxproj", "{BCA44D2B-1832-41F5-9EE9-FE1F709EE584}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "svg-surface", "svg-surface.vcxproj", "{BCA44D2B-1832-41F5-9EE9-FE1F709EE584}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "examples_text-rotate", "examples\text-rotate\text-rotate.vcxproj", "{F4D455E4-464D-49CC-A120-DB9B8AE0207E}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "text-rotate", "text-rotate.vcxproj", "{F4D455E4-464D-49CC-A120-DB9B8AE0207E}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "examples_image-surface", "examples\image-surface\image-surface.vcxproj", "{7A33DBC5-A523-4E9C-8E13-792AE3B91055}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "image-surface", "image-surface.vcxproj", "{7A33DBC5-A523-4E9C-8E13-792AE3B91055}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "examples_toy-text", "examples\toy-text\toy-text.vcxproj", "{6B6E3E73-0605-41E0-B7F9-1C62BBF92731}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "toy-text", "toy-text.vcxproj", "{6B6E3E73-0605-41E0-B7F9-1C62BBF92731}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "examples_user-font", "examples\user-font\user-font.vcxproj", "{E7C7C350-509B-4091-8929-62E47818C254}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "user-font", "user-font.vcxproj", "{E7C7C350-509B-4091-8929-62E47818C254}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/MSVC_Net2010/cairomm/cairomm.vcxproj b/MSVC_Net2010/cairomm.vcxproj index 0969ad7..3d71180 100644 --- a/MSVC_Net2010/cairomm/cairomm.vcxproj +++ b/MSVC_Net2010/cairomm.vcxproj @@ -19,76 +19,66 @@ </ProjectConfiguration> </ItemGroup> <PropertyGroup Label="Globals"> - <ProjectName>cairomm-1.0</ProjectName> + <ProjectName>cairomm</ProjectName> <ProjectGuid>{58B2B53C-C4FF-47FD-817B-095E45B7F7D4}</ProjectGuid> - <RootNamespace>glibmm</RootNamespace> + <RootNamespace>cairomm</RootNamespace> <Keyword>Win32Proj</Keyword> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <PropertyGroup Label="UserMacros" /> <PropertyGroup> - <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</IntDir> <PreLinkEventUseInBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</PreLinkEventUseInBuild> - <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir> <PreLinkEventUseInBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</PreLinkEventUseInBuild> - <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir> <PreLinkEventUseInBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</PreLinkEventUseInBuild> - <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir> <PreLinkEventUseInBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</PreLinkEventUseInBuild> - <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</GenerateManifest> - <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">cairomm-vc100-1_0</TargetName> - <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">cairomm-vc100-1_0</TargetName> - <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cairomm-vc100-d-1_0</TargetName> - <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">cairomm-vc100-d-1_0</TargetName> + <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectName)$(ReleaseDllSuffix)</TargetName> + <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectName)$(ReleaseDllSuffix)</TargetName> + <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)$(DebugDllSuffix)</TargetName> + <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectName)$(DebugDllSuffix)</TargetName> </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>.;../..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;CAIROMM_BUILD;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>_DEBUG;$(CairoMMBuildDefs);%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> @@ -100,12 +90,12 @@ </ClCompile> <PreLinkEvent> <Message>Generate cairomm def file</Message> - <Command>$(SolutionDir)gendef\$(Platform)\$(Configuration)\gendef $(Platform)\$(Configuration)\$(ProjectName).def $(TargetFileName) $(IntDir)*.obj</Command> + <Command>$(OutDir)\gendef.exe $(DefDir)\$(ProjectName).def $(TargetFileName) $(IntDir)*.obj</Command> </PreLinkEvent> <Link> - <AdditionalDependencies>cairo.lib;sigc-vc100-d-2_0.lib;%(AdditionalDependencies)</AdditionalDependencies> - <OutputFile>$(OutDir)cairomm-vc100-d-1_0.dll</OutputFile> - <ModuleDefinitionFile>$(Platform)\$(Configuration)\$(ProjectName).def</ModuleDefinitionFile> + <AdditionalDependencies>$(CPPDepLibsDebug);%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(OutDir)$(ProjectName)$(DebugDllSuffix).dll</OutputFile> + <ModuleDefinitionFile>$(IntDir)\$(ProjectName).def</ModuleDefinitionFile> <GenerateDebugInformation>true</GenerateDebugInformation> <RandomizedBaseAddress>false</RandomizedBaseAddress> <DataExecutionPrevention> @@ -114,8 +104,7 @@ </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> - <AdditionalIncludeDirectories>.;../..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;CAIROMM_BUILD;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>$(CairoMMBuildDefs);%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <RuntimeTypeInfo>true</RuntimeTypeInfo> <PrecompiledHeader> @@ -125,12 +114,14 @@ </ClCompile> <PreLinkEvent> <Message>Generate cairomm def file</Message> - <Command>$(SolutionDir)gendef\$(Platform)\$(Configuration)\gendef $(Platform)\$(Configuration)\$(ProjectName).def $(TargetFileName) $(IntDir)*.obj</Command> + <Command>$(OutDir)\gendef.exe $(DefDir)\$(ProjectName).def $(TargetFileName) $(IntDir)*.obj</Command> </PreLinkEvent> <Link> - <AdditionalDependencies>cairo.lib;sigc-vc100-2_0.lib;%(AdditionalDependencies)</AdditionalDependencies> - <OutputFile>$(OutDir)cairomm-vc100-1_0.dll</OutputFile> - <ModuleDefinitionFile>$(Platform)\$(Configuration)\$(ProjectName).def</ModuleDefinitionFile> + <AdditionalDependencies>$(CPPDepLibsRelease);%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(OutDir)$(ProjectName)$(ReleaseDllSuffix).dll</OutputFile> + <ModuleDefinitionFile>$(IntDir)\$(ProjectName).def</ModuleDefinitionFile> + <GenerateDebugInformation>true</GenerateDebugInformation> + <OptimizeReferences>true</OptimizeReferences> <RandomizedBaseAddress>false</RandomizedBaseAddress> <DataExecutionPrevention> </DataExecutionPrevention> @@ -142,8 +133,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>.;../..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;CAIROMM_BUILD;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>_DEBUG;$(CairoMMBuildDefs);%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> @@ -155,12 +145,12 @@ </ClCompile> <PreLinkEvent> <Message>Generate cairomm def file</Message> - <Command>$(SolutionDir)gendef\$(Platform)\$(Configuration)\gendef $(Platform)\$(Configuration)\$(ProjectName).def $(TargetFileName) $(IntDir)*.obj</Command> + <Command>$(OutDir)\gendef.exe $(DefDir)\$(ProjectName).def $(TargetFileName) $(IntDir)*.obj</Command> </PreLinkEvent> <Link> - <AdditionalDependencies>cairo.lib;sigc-vc100-d-2_0.lib;%(AdditionalDependencies)</AdditionalDependencies> - <OutputFile>$(OutDir)cairomm-vc100-d-1_0.dll</OutputFile> - <ModuleDefinitionFile>$(Platform)\$(Configuration)\$(ProjectName).def</ModuleDefinitionFile> + <AdditionalDependencies>$(CPPDepLibsDebug);%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(OutDir)$(ProjectName)$(DebugDllSuffix).dll</OutputFile> + <ModuleDefinitionFile>$(IntDir)\$(ProjectName).def</ModuleDefinitionFile> <GenerateDebugInformation>true</GenerateDebugInformation> <RandomizedBaseAddress>false</RandomizedBaseAddress> <DataExecutionPrevention> @@ -173,8 +163,7 @@ <TargetEnvironment>X64</TargetEnvironment> </Midl> <ClCompile> - <AdditionalIncludeDirectories>.;../..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;CAIROMM_BUILD;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>$(CairoMMBuildDefs);%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <RuntimeTypeInfo>true</RuntimeTypeInfo> <PrecompiledHeader> @@ -184,12 +173,14 @@ </ClCompile> <PreLinkEvent> <Message>Generate cairomm def file</Message> - <Command>$(SolutionDir)gendef\$(Platform)\$(Configuration)\gendef $(Platform)\$(Configuration)\$(ProjectName).def $(TargetFileName) $(IntDir)*.obj</Command> + <Command>$(OutDir)\gendef.exe $(DefDir)\$(ProjectName).def $(TargetFileName) $(IntDir)*.obj</Command> </PreLinkEvent> <Link> - <AdditionalDependencies>cairo.lib;sigc-vc100-2_0.lib;%(AdditionalDependencies)</AdditionalDependencies> - <OutputFile>$(OutDir)cairomm-vc100-1_0.dll</OutputFile> - <ModuleDefinitionFile>$(Platform)\$(Configuration)\$(ProjectName).def</ModuleDefinitionFile> + <AdditionalDependencies>$(CPPDepLibsRelease);%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(OutDir)$(ProjectName)$(ReleaseDllSuffix).dll</OutputFile> + <ModuleDefinitionFile>$(IntDir)\$(ProjectName).def</ModuleDefinitionFile> + <GenerateDebugInformation>true</GenerateDebugInformation> + <OptimizeReferences>true</OptimizeReferences> <RandomizedBaseAddress>false</RandomizedBaseAddress> <DataExecutionPrevention> </DataExecutionPrevention> @@ -197,60 +188,60 @@ </Link> </ItemDefinitionGroup> <ItemGroup> - <ClCompile Include="..\..\cairomm\context.cc" /> - <ClCompile Include="..\..\cairomm\context_surface_quartz.cc" /> - <ClCompile Include="..\..\cairomm\context_surface_win32.cc" /> - <ClCompile Include="..\..\cairomm\context_surface_xlib.cc" /> - <ClCompile Include="..\..\cairomm\device.cc" /> - <ClCompile Include="..\..\cairomm\exception.cc" /> - <ClCompile Include="..\..\cairomm\fontface.cc" /> - <ClCompile Include="..\..\cairomm\fontoptions.cc" /> - <ClCompile Include="..\..\cairomm\matrix.cc" /> - <ClCompile Include="..\..\cairomm\path.cc" /> - <ClCompile Include="..\..\cairomm\pattern.cc" /> - <ClCompile Include="..\..\cairomm\private.cc" /> - <ClCompile Include="..\..\cairomm\quartz_font.cc" /> - <ClCompile Include="..\..\cairomm\quartz_surface.cc" /> - <ClCompile Include="..\..\cairomm\region.cc" /> - <ClCompile Include="..\..\cairomm\scaledfont.cc" /> - <ClCompile Include="..\..\cairomm\script.cc" /> - <ClCompile Include="..\..\cairomm\script_surface.cc" /> - <ClCompile Include="..\..\cairomm\surface.cc" /> - <ClCompile Include="..\..\cairomm\win32_font.cc" /> - <ClCompile Include="..\..\cairomm\win32_surface.cc" /> - <ClCompile Include="..\..\cairomm\xlib_surface.cc" /> + <ClCompile Include="..\cairomm\context.cc" /> + <ClCompile Include="..\cairomm\context_surface_quartz.cc" /> + <ClCompile Include="..\cairomm\context_surface_win32.cc" /> + <ClCompile Include="..\cairomm\context_surface_xlib.cc" /> + <ClCompile Include="..\cairomm\device.cc" /> + <ClCompile Include="..\cairomm\exception.cc" /> + <ClCompile Include="..\cairomm\fontface.cc" /> + <ClCompile Include="..\cairomm\fontoptions.cc" /> + <ClCompile Include="..\cairomm\matrix.cc" /> + <ClCompile Include="..\cairomm\path.cc" /> + <ClCompile Include="..\cairomm\pattern.cc" /> + <ClCompile Include="..\cairomm\private.cc" /> + <ClCompile Include="..\cairomm\quartz_font.cc" /> + <ClCompile Include="..\cairomm\quartz_surface.cc" /> + <ClCompile Include="..\cairomm\region.cc" /> + <ClCompile Include="..\cairomm\scaledfont.cc" /> + <ClCompile Include="..\cairomm\script.cc" /> + <ClCompile Include="..\cairomm\script_surface.cc" /> + <ClCompile Include="..\cairomm\surface.cc" /> + <ClCompile Include="..\cairomm\win32_font.cc" /> + <ClCompile Include="..\cairomm\win32_surface.cc" /> + <ClCompile Include="..\cairomm\xlib_surface.cc" /> </ItemGroup> <ItemGroup> - <ClInclude Include="..\..\cairomm\cairomm.h" /> - <ClInclude Include="..\..\cairomm\context.h" /> - <ClInclude Include="..\..\cairomm\context_private.h" /> - <ClInclude Include="..\..\cairomm\device.h" /> - <ClInclude Include="..\..\cairomm\enums.h" /> - <ClInclude Include="..\..\cairomm\exception.h" /> - <ClInclude Include="..\..\cairomm\fontface.h" /> - <ClInclude Include="..\..\cairomm\fontoptions.h" /> - <ClInclude Include="..\..\cairomm\matrix.h" /> - <ClInclude Include="..\..\cairomm\path.h" /> - <ClInclude Include="..\..\cairomm\pattern.h" /> - <ClInclude Include="..\..\cairomm\private.h" /> - <ClInclude Include="..\..\cairomm\quartz_font.h" /> - <ClInclude Include="..\..\cairomm\quartz_surface.h" /> - <ClInclude Include="..\..\cairomm\refptr.h" /> - <ClInclude Include="..\..\cairomm\region.h" /> - <ClInclude Include="..\..\cairomm\scaledfont.h" /> - <ClInclude Include="..\..\cairomm\script.h" /> - <ClInclude Include="..\..\cairomm\script_surface.h" /> - <ClInclude Include="..\..\cairomm\surface.h" /> - <ClInclude Include="..\..\cairomm\types.h" /> - <ClInclude Include="..\..\cairomm\win32_font.h" /> - <ClInclude Include="..\..\cairomm\win32_surface.h" /> - <ClInclude Include="..\..\cairomm\xlib_surface.h" /> + <ClInclude Include="..\cairomm\cairomm.h" /> + <ClInclude Include="..\cairomm\context.h" /> + <ClInclude Include="..\cairomm\context_private.h" /> + <ClInclude Include="..\cairomm\device.h" /> + <ClInclude Include="..\cairomm\enums.h" /> + <ClInclude Include="..\cairomm\exception.h" /> + <ClInclude Include="..\cairomm\fontface.h" /> + <ClInclude Include="..\cairomm\fontoptions.h" /> + <ClInclude Include="..\cairomm\matrix.h" /> + <ClInclude Include="..\cairomm\path.h" /> + <ClInclude Include="..\cairomm\pattern.h" /> + <ClInclude Include="..\cairomm\private.h" /> + <ClInclude Include="..\cairomm\quartz_font.h" /> + <ClInclude Include="..\cairomm\quartz_surface.h" /> + <ClInclude Include="..\cairomm\refptr.h" /> + <ClInclude Include="..\cairomm\region.h" /> + <ClInclude Include="..\cairomm\scaledfont.h" /> + <ClInclude Include="..\cairomm\script.h" /> + <ClInclude Include="..\cairomm\script_surface.h" /> + <ClInclude Include="..\cairomm\surface.h" /> + <ClInclude Include="..\cairomm\types.h" /> + <ClInclude Include="..\cairomm\win32_font.h" /> + <ClInclude Include="..\cairomm\win32_surface.h" /> + <ClInclude Include="..\cairomm\xlib_surface.h" /> </ItemGroup> <ItemGroup> - <ResourceCompile Include="cairomm.rc" /> + <ResourceCompile Include=".\cairomm\cairomm.rc" /> </ItemGroup> <ItemGroup> - <ProjectReference Include="..\gendef\gendef.vcxproj"> + <ProjectReference Include="gendef.vcxproj"> <Project>{07324745-c9be-4d65-b08a-9c88188c0c28}</Project> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> </ProjectReference> diff --git a/MSVC_Net2010/cairomm.vcxproj.filters b/MSVC_Net2010/cairomm.vcxproj.filters new file mode 100644 index 0000000..424d657 --- /dev/null +++ b/MSVC_Net2010/cairomm.vcxproj.filters @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup> + <Filter Include="Source Files"> + <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> + <Extensions>cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> + </Filter> + <Filter Include="Header Files"> + <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> + <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions> + </Filter> + <Filter Include="Resource Files"> + <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> + <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx</Extensions> + </Filter> + </ItemGroup> + <ItemGroup> + <ClCompile Include="..\cairomm\context.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\context_surface_quartz.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\context_surface_win32.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\context_surface_xlib.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\device.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\exception.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\fontface.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\fontoptions.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\matrix.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\path.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\pattern.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\private.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\quartz_font.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\quartz_surface.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\region.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\scaledfont.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\script.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\script_surface.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\surface.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\win32_font.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\win32_surface.cc"><Filter>Source Files</Filter></ClCompile> + <ClCompile Include="..\cairomm\xlib_surface.cc"><Filter>Source Files</Filter></ClCompile> + </ItemGroup> + <ItemGroup> + <ClInclude Include="..\cairomm\cairomm.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\context.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\context_private.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\device.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\enums.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\exception.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\fontface.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\fontoptions.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\matrix.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\path.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\pattern.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\private.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\quartz_font.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\quartz_surface.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\refptr.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\region.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\scaledfont.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\script.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\script_surface.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\surface.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\types.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\win32_font.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\win32_surface.h"><Filter>Header Files</Filter></ClInclude> + <ClInclude Include="..\cairomm\xlib_surface.h"><Filter>Header Files</Filter></ClInclude> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include=".\cairomm\cairomm.rc"><Filter>Resource Files</Filter></ResourceCompile> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/MSVC_Net2010/cairomm/cairomm.vcxproj.filters b/MSVC_Net2010/cairomm/cairomm.vcxproj.filters deleted file mode 100644 index d8a0580..0000000 --- a/MSVC_Net2010/cairomm/cairomm.vcxproj.filters +++ /dev/null @@ -1,164 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <ItemGroup> - <Filter Include="Source Files"> - <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> - <Extensions>cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> - </Filter> - <Filter Include="Header Files"> - <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> - <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions> - </Filter> - <Filter Include="Resource Files"> - <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> - <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx</Extensions> - </Filter> - </ItemGroup> - <ItemGroup> - <ClCompile Include="..\..\cairomm\context.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\context_surface_quartz.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\context_surface_win32.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\context_surface_xlib.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\exception.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\fontface.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\fontoptions.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\matrix.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\path.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\pattern.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\private.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\quartz_surface.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\scaledfont.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\surface.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\win32_font.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\win32_surface.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\xlib_surface.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\device.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\quartz_font.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\region.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\script.cc"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\cairomm\script_surface.cc"> - <Filter>Source Files</Filter> - </ClCompile> - </ItemGroup> - <ItemGroup> - <ClInclude Include="..\..\cairomm\cairomm.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\context.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\enums.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\exception.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\fontface.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\fontoptions.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\matrix.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\path.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\pattern.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\private.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\quartz_surface.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\refptr.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\scaledfont.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\surface.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\win32_font.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\win32_surface.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\xlib_surface.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\context_private.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\device.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\quartz_font.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\region.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\script.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\script_surface.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\cairomm\types.h"> - <Filter>Header Files</Filter> - </ClInclude> - </ItemGroup> - <ItemGroup> - <ResourceCompile Include="cairomm.rc"> - <Filter>Resource Files</Filter> - </ResourceCompile> - </ItemGroup> -</Project>
\ No newline at end of file diff --git a/MSVC_Net2010/filelist.am b/MSVC_Net2010/filelist.am index 6708cfe..f058ba0 100644 --- a/MSVC_Net2010/filelist.am +++ b/MSVC_Net2010/filelist.am @@ -2,24 +2,26 @@ msvc_net2010_data = README \ cairomm.sln \ - gendef/gendef.vcxproj \ - gendef/gendef.vcxproj.filters \ + cairo-build-defines.props \ + cairo-version-paths.props \ + gendef.vcxproj \ + gendef.vcxproj.filters \ gendef/gendef.cc \ cairomm/cairommconfig.h \ cairomm/cairomm.rc \ - cairomm/cairomm.vcxproj \ - cairomm/cairomm.vcxproj.filters \ - examples/image-surface/image-surface.vcxproj \ - examples/image-surface/image-surface.vcxproj.filters \ - examples/pdf-surface/pdf-surface.vcxproj \ - examples/pdf-surface/pdf-surface.vcxproj.filters \ - examples/ps-surface/ps-surface.vcxproj \ - examples/ps-surface/ps-surface.vcxproj.filters \ - examples/svg-surface/svg-surface.vcxproj \ - examples/svg-surface/svg-surface.vcxproj.filters \ - examples/text-rotate/text-rotate.vcxproj \ - examples/text-rotate/text-rotate.vcxproj.filters \ - examples/toy-text/toy-text.vcxproj \ - examples/toy-text/toy-text.vcxproj.filters \ - examples/user-font/user-font.vcxproj \ - examples/user-font/user-font.vcxproj.filters + cairomm.vcxproj \ + cairomm.vcxproj.filters \ + image-surface.vcxproj \ + image-surface.vcxproj.filters \ + pdf-surface.vcxproj \ + pdf-surface.vcxproj.filters \ + ps-surface.vcxproj \ + ps-surface.vcxproj.filters \ + svg-surface.vcxproj \ + svg-surface.vcxproj.filters \ + text-rotate.vcxproj \ + text-rotate.vcxproj.filters \ + toy-text.vcxproj \ + toy-text.vcxproj.filters \ + user-font.vcxproj \ + user-font.vcxproj.filters diff --git a/MSVC_Net2010/gendef/gendef.vcxproj b/MSVC_Net2010/gendef.vcxproj index b05d0f6..ff860d8 100644 --- a/MSVC_Net2010/gendef/gendef.vcxproj +++ b/MSVC_Net2010/gendef.vcxproj @@ -26,62 +26,57 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <PropertyGroup Label="UserMacros" /> <PropertyGroup> - <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</GenerateManifest> </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> @@ -91,7 +86,7 @@ <DebugInformationFormat>EditAndContinue</DebugInformationFormat> </ClCompile> <Link> - <OutputFile>$(OutDir)gendef.exe</OutputFile> + <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> <GenerateDebugInformation>true</GenerateDebugInformation> <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile> <SubSystem>Console</SubSystem> @@ -103,7 +98,7 @@ </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreaded</RuntimeLibrary> <PrecompiledHeader> </PrecompiledHeader> @@ -111,7 +106,7 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <OutputFile>$(OutDir)gendef.exe</OutputFile> + <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> <OptimizeReferences>true</OptimizeReferences> @@ -128,7 +123,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> @@ -138,7 +133,7 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <OutputFile>$(OutDir)gendef.exe</OutputFile> + <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> <GenerateDebugInformation>true</GenerateDebugInformation> <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile> <SubSystem>Console</SubSystem> @@ -153,7 +148,7 @@ <TargetEnvironment>X64</TargetEnvironment> </Midl> <ClCompile> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreaded</RuntimeLibrary> <PrecompiledHeader> </PrecompiledHeader> @@ -161,7 +156,7 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <OutputFile>$(OutDir)gendef.exe</OutputFile> + <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> <OptimizeReferences>true</OptimizeReferences> @@ -173,7 +168,7 @@ </Link> </ItemDefinitionGroup> <ItemGroup> - <ClCompile Include="gendef.cc" /> + <ClCompile Include=".\gendef\gendef.cc" /> </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> diff --git a/MSVC_Net2010/gendef/gendef.vcxproj.filters b/MSVC_Net2010/gendef.vcxproj.filters index ec3f611..e81fda2 100644 --- a/MSVC_Net2010/gendef/gendef.vcxproj.filters +++ b/MSVC_Net2010/gendef.vcxproj.filters @@ -15,8 +15,6 @@ </Filter> </ItemGroup> <ItemGroup> - <ClCompile Include="gendef.cc"> - <Filter>Source Files</Filter> - </ClCompile> + <ClCompile Include=".\gendef\gendef.cc"><Filter>Source Files</Filter></ClCompile> </ItemGroup> </Project>
\ No newline at end of file diff --git a/MSVC_Net2010/examples/image-surface/image-surface.vcxproj b/MSVC_Net2010/image-surface.vcxproj index 5bb38ca..a93f1e0 100644 --- a/MSVC_Net2010/examples/image-surface/image-surface.vcxproj +++ b/MSVC_Net2010/image-surface.vcxproj @@ -19,72 +19,66 @@ </ProjectConfiguration> </ItemGroup> <PropertyGroup Label="Globals"> - <ProjectName>examples_image-surface</ProjectName> + <ProjectName>image-surface</ProjectName> <ProjectGuid>{7A33DBC5-A523-4E9C-8E13-792AE3B91055}</ProjectGuid> - <RootNamespace>examples_dispatcher</RootNamespace> + <RootNamespace>imagesurface</RootNamespace> <Keyword>Win32Proj</Keyword> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <PropertyGroup Label="UserMacros" /> <PropertyGroup> - <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</GenerateManifest> </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> @@ -95,7 +89,6 @@ <DebugInformationFormat>EditAndContinue</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> <GenerateDebugInformation>true</GenerateDebugInformation> <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile> @@ -108,8 +101,7 @@ </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <RuntimeTypeInfo>true</RuntimeTypeInfo> <PrecompiledHeader> @@ -118,9 +110,8 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> - <GenerateDebugInformation>false</GenerateDebugInformation> + <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> @@ -136,8 +127,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> @@ -148,7 +138,6 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> <GenerateDebugInformation>true</GenerateDebugInformation> <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile> @@ -164,8 +153,7 @@ <TargetEnvironment>X64</TargetEnvironment> </Midl> <ClCompile> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <RuntimeTypeInfo>true</RuntimeTypeInfo> <PrecompiledHeader> @@ -174,9 +162,8 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> - <GenerateDebugInformation>false</GenerateDebugInformation> + <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> @@ -187,10 +174,10 @@ </Link> </ItemDefinitionGroup> <ItemGroup> - <ClCompile Include="..\..\..\examples\surfaces\image-surface.cc" /> + <ClCompile Include="..\examples\surfaces\image-surface.cc" /> </ItemGroup> <ItemGroup> - <ProjectReference Include="..\..\cairomm\cairomm.vcxproj"> + <ProjectReference Include="cairomm.vcxproj"> <Project>{58b2b53c-c4ff-47fd-817b-095e45b7f7d4}</Project> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> </ProjectReference> diff --git a/MSVC_Net2010/examples/image-surface/image-surface.vcxproj.filters b/MSVC_Net2010/image-surface.vcxproj.filters index 3e3abc7..544aeee 100644 --- a/MSVC_Net2010/examples/image-surface/image-surface.vcxproj.filters +++ b/MSVC_Net2010/image-surface.vcxproj.filters @@ -15,8 +15,6 @@ </Filter> </ItemGroup> <ItemGroup> - <ClCompile Include="..\..\..\examples\surfaces\image-surface.cc"> - <Filter>Source Files</Filter> - </ClCompile> + <ClCompile Include="..\examples\surfaces\image-surface.cc"><Filter>Source Files</Filter></ClCompile> </ItemGroup> </Project>
\ No newline at end of file diff --git a/MSVC_Net2010/examples/pdf-surface/pdf-surface.vcxproj b/MSVC_Net2010/pdf-surface.vcxproj index d650cce..be42d08 100644 --- a/MSVC_Net2010/examples/pdf-surface/pdf-surface.vcxproj +++ b/MSVC_Net2010/pdf-surface.vcxproj @@ -19,72 +19,66 @@ </ProjectConfiguration> </ItemGroup> <PropertyGroup Label="Globals"> - <ProjectName>examples_pdf-surface</ProjectName> + <ProjectName>pdf-surface</ProjectName> <ProjectGuid>{129ECC08-6D30-4884-B824-4AF96EF0A45C}</ProjectGuid> - <RootNamespace>examples_dispatcher</RootNamespace> + <RootNamespace>pdfsurface</RootNamespace> <Keyword>Win32Proj</Keyword> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <PropertyGroup Label="UserMacros" /> <PropertyGroup> - <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</GenerateManifest> </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> @@ -95,7 +89,6 @@ <DebugInformationFormat>EditAndContinue</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> <GenerateDebugInformation>true</GenerateDebugInformation> <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile> @@ -108,8 +101,7 @@ </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <RuntimeTypeInfo>true</RuntimeTypeInfo> <PrecompiledHeader> @@ -118,9 +110,8 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> - <GenerateDebugInformation>false</GenerateDebugInformation> + <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> @@ -136,8 +127,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> @@ -148,7 +138,6 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> <GenerateDebugInformation>true</GenerateDebugInformation> <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile> @@ -164,8 +153,7 @@ <TargetEnvironment>X64</TargetEnvironment> </Midl> <ClCompile> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <RuntimeTypeInfo>true</RuntimeTypeInfo> <PrecompiledHeader> @@ -174,9 +162,8 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> - <GenerateDebugInformation>false</GenerateDebugInformation> + <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> @@ -187,10 +174,10 @@ </Link> </ItemDefinitionGroup> <ItemGroup> - <ClCompile Include="..\..\..\examples\surfaces\pdf-surface.cc" /> + <ClCompile Include="..\examples\surfaces\pdf-surface.cc" /> </ItemGroup> <ItemGroup> - <ProjectReference Include="..\..\cairomm\cairomm.vcxproj"> + <ProjectReference Include="cairomm.vcxproj"> <Project>{58b2b53c-c4ff-47fd-817b-095e45b7f7d4}</Project> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> </ProjectReference> diff --git a/MSVC_Net2010/examples/pdf-surface/pdf-surface.vcxproj.filters b/MSVC_Net2010/pdf-surface.vcxproj.filters index 573c315..ee80726 100644 --- a/MSVC_Net2010/examples/pdf-surface/pdf-surface.vcxproj.filters +++ b/MSVC_Net2010/pdf-surface.vcxproj.filters @@ -15,8 +15,6 @@ </Filter> </ItemGroup> <ItemGroup> - <ClCompile Include="..\..\..\examples\surfaces\pdf-surface.cc"> - <Filter>Source Files</Filter> - </ClCompile> + <ClCompile Include="..\examples\surfaces\pdf-surface.cc"><Filter>Source Files</Filter></ClCompile> </ItemGroup> </Project>
\ No newline at end of file diff --git a/MSVC_Net2010/examples/ps-surface/ps-surface.vcxproj b/MSVC_Net2010/ps-surface.vcxproj index 3f3942d..4228c2b 100644 --- a/MSVC_Net2010/examples/ps-surface/ps-surface.vcxproj +++ b/MSVC_Net2010/ps-surface.vcxproj @@ -19,72 +19,66 @@ </ProjectConfiguration> </ItemGroup> <PropertyGroup Label="Globals"> - <ProjectName>examples_ps-surface</ProjectName> + <ProjectName>ps-surface</ProjectName> <ProjectGuid>{CAE46373-7375-4607-AAB7-0EBA8F0E5B55}</ProjectGuid> - <RootNamespace>examples_dispatcher</RootNamespace> + <RootNamespace>pssurface</RootNamespace> <Keyword>Win32Proj</Keyword> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <PropertyGroup Label="UserMacros" /> <PropertyGroup> - <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</GenerateManifest> </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> @@ -95,7 +89,6 @@ <DebugInformationFormat>EditAndContinue</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> <GenerateDebugInformation>true</GenerateDebugInformation> <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile> @@ -108,8 +101,7 @@ </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <RuntimeTypeInfo>true</RuntimeTypeInfo> <PrecompiledHeader> @@ -118,9 +110,8 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> - <GenerateDebugInformation>false</GenerateDebugInformation> + <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> @@ -136,8 +127,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> @@ -148,7 +138,6 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> <GenerateDebugInformation>true</GenerateDebugInformation> <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile> @@ -164,8 +153,7 @@ <TargetEnvironment>X64</TargetEnvironment> </Midl> <ClCompile> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <RuntimeTypeInfo>true</RuntimeTypeInfo> <PrecompiledHeader> @@ -174,9 +162,8 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> - <GenerateDebugInformation>false</GenerateDebugInformation> + <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> @@ -187,10 +174,10 @@ </Link> </ItemDefinitionGroup> <ItemGroup> - <ClCompile Include="..\..\..\examples\surfaces\ps-surface.cc" /> + <ClCompile Include="..\examples\surfaces\ps-surface.cc" /> </ItemGroup> <ItemGroup> - <ProjectReference Include="..\..\cairomm\cairomm.vcxproj"> + <ProjectReference Include="cairomm.vcxproj"> <Project>{58b2b53c-c4ff-47fd-817b-095e45b7f7d4}</Project> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> </ProjectReference> diff --git a/MSVC_Net2010/examples/ps-surface/ps-surface.vcxproj.filters b/MSVC_Net2010/ps-surface.vcxproj.filters index eec7fe6..0b74b80 100644 --- a/MSVC_Net2010/examples/ps-surface/ps-surface.vcxproj.filters +++ b/MSVC_Net2010/ps-surface.vcxproj.filters @@ -15,8 +15,6 @@ </Filter> </ItemGroup> <ItemGroup> - <ClCompile Include="..\..\..\examples\surfaces\ps-surface.cc"> - <Filter>Source Files</Filter> - </ClCompile> + <ClCompile Include="..\examples\surfaces\ps-surface.cc"><Filter>Source Files</Filter></ClCompile> </ItemGroup> </Project>
\ No newline at end of file diff --git a/MSVC_Net2010/examples/svg-surface/svg-surface.vcxproj b/MSVC_Net2010/svg-surface.vcxproj index 0845c01..4356d48 100644 --- a/MSVC_Net2010/examples/svg-surface/svg-surface.vcxproj +++ b/MSVC_Net2010/svg-surface.vcxproj @@ -19,72 +19,66 @@ </ProjectConfiguration> </ItemGroup> <PropertyGroup Label="Globals"> - <ProjectName>examples_svg-surface</ProjectName> + <ProjectName>svg-surface</ProjectName> <ProjectGuid>{BCA44D2B-1832-41F5-9EE9-FE1F709EE584}</ProjectGuid> - <RootNamespace>examples_dispatcher</RootNamespace> + <RootNamespace>svgsurface</RootNamespace> <Keyword>Win32Proj</Keyword> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <PropertyGroup Label="UserMacros" /> <PropertyGroup> - <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</GenerateManifest> </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> @@ -95,7 +89,6 @@ <DebugInformationFormat>EditAndContinue</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> <GenerateDebugInformation>true</GenerateDebugInformation> <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile> @@ -108,8 +101,7 @@ </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <RuntimeTypeInfo>true</RuntimeTypeInfo> <PrecompiledHeader> @@ -118,9 +110,8 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> - <GenerateDebugInformation>false</GenerateDebugInformation> + <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> @@ -136,8 +127,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> @@ -148,7 +138,6 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> <GenerateDebugInformation>true</GenerateDebugInformation> <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile> @@ -164,8 +153,7 @@ <TargetEnvironment>X64</TargetEnvironment> </Midl> <ClCompile> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <RuntimeTypeInfo>true</RuntimeTypeInfo> <PrecompiledHeader> @@ -174,9 +162,8 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> - <GenerateDebugInformation>false</GenerateDebugInformation> + <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> @@ -187,10 +174,10 @@ </Link> </ItemDefinitionGroup> <ItemGroup> - <ClCompile Include="..\..\..\examples\surfaces\svg-surface.cc" /> + <ClCompile Include="..\examples\surfaces\svg-surface.cc" /> </ItemGroup> <ItemGroup> - <ProjectReference Include="..\..\cairomm\cairomm.vcxproj"> + <ProjectReference Include="cairomm.vcxproj"> <Project>{58b2b53c-c4ff-47fd-817b-095e45b7f7d4}</Project> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> </ProjectReference> diff --git a/MSVC_Net2010/examples/svg-surface/svg-surface.vcxproj.filters b/MSVC_Net2010/svg-surface.vcxproj.filters index 5e8cbfe..11bd758 100644 --- a/MSVC_Net2010/examples/svg-surface/svg-surface.vcxproj.filters +++ b/MSVC_Net2010/svg-surface.vcxproj.filters @@ -15,8 +15,6 @@ </Filter> </ItemGroup> <ItemGroup> - <ClCompile Include="..\..\..\examples\surfaces\svg-surface.cc"> - <Filter>Source Files</Filter> - </ClCompile> + <ClCompile Include="..\examples\surfaces\svg-surface.cc"><Filter>Source Files</Filter></ClCompile> </ItemGroup> </Project>
\ No newline at end of file diff --git a/MSVC_Net2010/examples/text-rotate/text-rotate.vcxproj b/MSVC_Net2010/text-rotate.vcxproj index ec6a77a..50e88b9 100644 --- a/MSVC_Net2010/examples/text-rotate/text-rotate.vcxproj +++ b/MSVC_Net2010/text-rotate.vcxproj @@ -19,72 +19,66 @@ </ProjectConfiguration> </ItemGroup> <PropertyGroup Label="Globals"> - <ProjectName>examples_text-rotate</ProjectName> + <ProjectName>text-rotate</ProjectName> <ProjectGuid>{F4D455E4-464D-49CC-A120-DB9B8AE0207E}</ProjectGuid> - <RootNamespace>examples_dispatcher</RootNamespace> + <RootNamespace>textrotate</RootNamespace> <Keyword>Win32Proj</Keyword> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <PropertyGroup Label="UserMacros" /> <PropertyGroup> - <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</GenerateManifest> </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> @@ -95,7 +89,6 @@ <DebugInformationFormat>EditAndContinue</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> <GenerateDebugInformation>true</GenerateDebugInformation> <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile> @@ -108,8 +101,7 @@ </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <RuntimeTypeInfo>true</RuntimeTypeInfo> <PrecompiledHeader> @@ -118,9 +110,8 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> - <GenerateDebugInformation>false</GenerateDebugInformation> + <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> @@ -136,8 +127,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> @@ -148,7 +138,6 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> <GenerateDebugInformation>true</GenerateDebugInformation> <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile> @@ -164,8 +153,7 @@ <TargetEnvironment>X64</TargetEnvironment> </Midl> <ClCompile> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <RuntimeTypeInfo>true</RuntimeTypeInfo> <PrecompiledHeader> @@ -174,9 +162,8 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> - <GenerateDebugInformation>false</GenerateDebugInformation> + <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> @@ -187,10 +174,10 @@ </Link> </ItemDefinitionGroup> <ItemGroup> - <ClCompile Include="..\..\..\examples\text\text-rotate.cc" /> + <ClCompile Include="..\examples\text\text-rotate.cc" /> </ItemGroup> <ItemGroup> - <ProjectReference Include="..\..\cairomm\cairomm.vcxproj"> + <ProjectReference Include="cairomm.vcxproj"> <Project>{58b2b53c-c4ff-47fd-817b-095e45b7f7d4}</Project> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> </ProjectReference> diff --git a/MSVC_Net2010/examples/text-rotate/text-rotate.vcxproj.filters b/MSVC_Net2010/text-rotate.vcxproj.filters index 1da5605..5bd8ac4 100644 --- a/MSVC_Net2010/examples/text-rotate/text-rotate.vcxproj.filters +++ b/MSVC_Net2010/text-rotate.vcxproj.filters @@ -15,8 +15,6 @@ </Filter> </ItemGroup> <ItemGroup> - <ClCompile Include="..\..\..\examples\text\text-rotate.cc"> - <Filter>Source Files</Filter> - </ClCompile> + <ClCompile Include="..\examples\text\text-rotate.cc"><Filter>Source Files</Filter></ClCompile> </ItemGroup> </Project>
\ No newline at end of file diff --git a/MSVC_Net2010/examples/toy-text/toy-text.vcxproj b/MSVC_Net2010/toy-text.vcxproj index ab15500..0ee8df2 100644 --- a/MSVC_Net2010/examples/toy-text/toy-text.vcxproj +++ b/MSVC_Net2010/toy-text.vcxproj @@ -19,72 +19,66 @@ </ProjectConfiguration> </ItemGroup> <PropertyGroup Label="Globals"> - <ProjectName>examples_toy-text</ProjectName> + <ProjectName>toy-text</ProjectName> <ProjectGuid>{6B6E3E73-0605-41E0-B7F9-1C62BBF92731}</ProjectGuid> - <RootNamespace>examples_dispatcher</RootNamespace> + <RootNamespace>toytext</RootNamespace> <Keyword>Win32Proj</Keyword> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <PropertyGroup Label="UserMacros" /> <PropertyGroup> - <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</GenerateManifest> </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_USE_MATH_DEFINES;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>_USE_MATH_DEFINES;%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> @@ -95,7 +89,6 @@ <DebugInformationFormat>EditAndContinue</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> <GenerateDebugInformation>true</GenerateDebugInformation> <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile> @@ -108,8 +101,7 @@ </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_USE_MATH_DEFINES;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>_USE_MATH_DEFINES;%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <RuntimeTypeInfo>true</RuntimeTypeInfo> <PrecompiledHeader> @@ -118,9 +110,8 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> - <GenerateDebugInformation>false</GenerateDebugInformation> + <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> @@ -136,8 +127,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_USE_MATH_DEFINES;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>_USE_MATH_DEFINES;%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> @@ -148,7 +138,6 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> <GenerateDebugInformation>true</GenerateDebugInformation> <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile> @@ -164,8 +153,7 @@ <TargetEnvironment>X64</TargetEnvironment> </Midl> <ClCompile> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_USE_MATH_DEFINES;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>_USE_MATH_DEFINES;%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <RuntimeTypeInfo>true</RuntimeTypeInfo> <PrecompiledHeader> @@ -174,9 +162,8 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> - <GenerateDebugInformation>false</GenerateDebugInformation> + <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> @@ -187,10 +174,10 @@ </Link> </ItemDefinitionGroup> <ItemGroup> - <ClCompile Include="..\..\..\examples\text\toy-text.cc" /> + <ClCompile Include="..\examples\text\toy-text.cc" /> </ItemGroup> <ItemGroup> - <ProjectReference Include="..\..\cairomm\cairomm.vcxproj"> + <ProjectReference Include="cairomm.vcxproj"> <Project>{58b2b53c-c4ff-47fd-817b-095e45b7f7d4}</Project> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> </ProjectReference> diff --git a/MSVC_Net2010/examples/toy-text/toy-text.vcxproj.filters b/MSVC_Net2010/toy-text.vcxproj.filters index 8a689fa..f0889c3 100644 --- a/MSVC_Net2010/examples/toy-text/toy-text.vcxproj.filters +++ b/MSVC_Net2010/toy-text.vcxproj.filters @@ -15,8 +15,6 @@ </Filter> </ItemGroup> <ItemGroup> - <ClCompile Include="..\..\..\examples\text\toy-text.cc"> - <Filter>Source Files</Filter> - </ClCompile> + <ClCompile Include="..\examples\text\toy-text.cc"><Filter>Source Files</Filter></ClCompile> </ItemGroup> </Project>
\ No newline at end of file diff --git a/MSVC_Net2010/examples/user-font/user-font.vcxproj b/MSVC_Net2010/user-font.vcxproj index c73f088..3d3d3a4 100644 --- a/MSVC_Net2010/examples/user-font/user-font.vcxproj +++ b/MSVC_Net2010/user-font.vcxproj @@ -19,72 +19,66 @@ </ProjectConfiguration> </ItemGroup> <PropertyGroup Label="Globals"> - <ProjectName>examples_user-font</ProjectName> + <ProjectName>user-font</ProjectName> <ProjectGuid>{E7C7C350-509B-4091-8929-62E47818C254}</ProjectGuid> - <RootNamespace>examples_dispatcher</RootNamespace> + <RootNamespace>userfont</RootNamespace> <Keyword>Win32Proj</Keyword> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v100</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> + <Import Project=".\cairomm-build-defines.props" /> </ImportGroup> <PropertyGroup Label="UserMacros" /> <PropertyGroup> - <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</GenerateManifest> - <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir> - <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</GenerateManifest> </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_USE_MATH_DEFINES;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>_USE_MATH_DEFINES;%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> @@ -95,7 +89,6 @@ <DebugInformationFormat>EditAndContinue</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> <GenerateDebugInformation>true</GenerateDebugInformation> <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile> @@ -108,8 +101,7 @@ </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_USE_MATH_DEFINES;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>_USE_MATH_DEFINES;%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <RuntimeTypeInfo>true</RuntimeTypeInfo> <PrecompiledHeader> @@ -118,9 +110,8 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> - <GenerateDebugInformation>false</GenerateDebugInformation> + <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> @@ -136,8 +127,7 @@ </Midl> <ClCompile> <Optimization>Disabled</Optimization> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_USE_MATH_DEFINES;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>_USE_MATH_DEFINES;%(PreprocessorDefinitions)</PreprocessorDefinitions> <MinimalRebuild>true</MinimalRebuild> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> @@ -148,7 +138,6 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> <GenerateDebugInformation>true</GenerateDebugInformation> <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile> @@ -164,8 +153,7 @@ <TargetEnvironment>X64</TargetEnvironment> </Midl> <ClCompile> - <AdditionalIncludeDirectories>$(SolutionDir)\cairomm;$(SolutionDir)\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_USE_MATH_DEFINES;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>_USE_MATH_DEFINES;%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <RuntimeTypeInfo>true</RuntimeTypeInfo> <PrecompiledHeader> @@ -174,9 +162,8 @@ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> - <AdditionalDependencies>cairo.lib;%(AdditionalDependencies)</AdditionalDependencies> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> - <GenerateDebugInformation>false</GenerateDebugInformation> + <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> @@ -187,10 +174,10 @@ </Link> </ItemDefinitionGroup> <ItemGroup> - <ClCompile Include="..\..\..\examples\text\user-font.cc" /> + <ClCompile Include="..\examples\text\user-font.cc" /> </ItemGroup> <ItemGroup> - <ProjectReference Include="..\..\cairomm\cairomm.vcxproj"> + <ProjectReference Include="cairomm.vcxproj"> <Project>{58b2b53c-c4ff-47fd-817b-095e45b7f7d4}</Project> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> </ProjectReference> diff --git a/MSVC_Net2010/examples/user-font/user-font.vcxproj.filters b/MSVC_Net2010/user-font.vcxproj.filters index 5c00f83..fe7653f 100644 --- a/MSVC_Net2010/examples/user-font/user-font.vcxproj.filters +++ b/MSVC_Net2010/user-font.vcxproj.filters @@ -15,8 +15,6 @@ </Filter> </ItemGroup> <ItemGroup> - <ClCompile Include="..\..\..\examples\text\user-font.cc"> - <Filter>Source Files</Filter> - </ClCompile> + <ClCompile Include="..\examples\text\user-font.cc"><Filter>Source Files</Filter></ClCompile> </ItemGroup> </Project>
\ No newline at end of file |