mirror of
https://github.com/brl/mutter.git
synced 2024-12-02 04:40:43 -05:00
206ea0de6b
This updates the Visual Studio 2010 Projects in the following ways, similar to the recent changes to the Visual Studio 2008 projects: -Make all the copying of the pre-configured header files custom build rules, so that it is cleaner when people clean their builds, and the files can be re-copied when updated. -Split up the property sheets, so to ease future maintenance -Make the cogl-path library built as a DLL -Build and link against SDL-2.x for SDL builds -Make everything except the .sln file and the README.txt file use UNIX line endings, for easier maintenance. -Merge cogl_sdl.sln and install-sdl.vcxproj into cogl.sln and install.vcxproj respectively. -Update build of the conformance test to not use COGL_COMPILATION, and make it link to cogl-path.
227 lines
14 KiB
XML
227 lines
14 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
<ProjectConfiguration Include="Debug|Win32">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|x64">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
</ItemGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{F3A80987-5411-43DB-A23B-06F2076E1207}</ProjectGuid>
|
|
<RootNamespace>coglpath</RootNamespace>
|
|
<Keyword>Win32Proj</Keyword>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<ImportGroup Label="ExtensionSettings">
|
|
</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="cogl-gen-srcs.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="cogl-gen-srcs.props" />
|
|
</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="cogl-gen-srcs.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="cogl-gen-srcs.props" />
|
|
</ImportGroup>
|
|
<PropertyGroup Label="UserMacros" />
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<PreBuildEvent>
|
|
<Command></Command>
|
|
</PreBuildEvent>
|
|
<ClCompile>
|
|
<Optimization>Disabled</Optimization>
|
|
<AdditionalIncludeDirectories>..\..\..\cogl-path\tesselator;..\..\..\cogl\winsys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>$(DebugLibBuildDefines);$(CoglPathBuildDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<MinimalRebuild>true</MinimalRebuild>
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
|
<OutputFile>$(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll</OutputFile>
|
|
<ModuleDefinitionFile>$(IntDir)\$(ProjectName).def</ModuleDefinitionFile>
|
|
<ImportLibrary>$(TargetDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<SubSystem>Windows</SubSystem>
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<PreBuildEvent>
|
|
<Command></Command>
|
|
</PreBuildEvent>
|
|
<ClCompile>
|
|
<Optimization>Disabled</Optimization>
|
|
<AdditionalIncludeDirectories>..\..\..\cogl-path\tesselator;..\..\..\cogl\winsys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>$(DebugLibBuildDefines);$(CoglPathBuildDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<MinimalRebuild>true</MinimalRebuild>
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
|
<OutputFile>$(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll</OutputFile>
|
|
<ModuleDefinitionFile>$(IntDir)\$(ProjectName).def</ModuleDefinitionFile>
|
|
<ImportLibrary>$(TargetDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<SubSystem>Windows</SubSystem>
|
|
<TargetMachine>MachineX64</TargetMachine>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<PreBuildEvent>
|
|
<Command></Command>
|
|
</PreBuildEvent>
|
|
<ClCompile>
|
|
<Optimization>MaxSpeed</Optimization>
|
|
<AdditionalIncludeDirectories>..\..\..\cogl-path\tesselator;..\..\..\cogl\winsys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
<PreprocessorDefinitions>$(ReleaseLibBuildDefines);$(CoglPathBuildDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
|
<OutputFile>$(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll</OutputFile>
|
|
<ModuleDefinitionFile>$(IntDir)\$(ProjectName).def</ModuleDefinitionFile>
|
|
<ImportLibrary>$(TargetDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<SubSystem>Windows</SubSystem>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<PreBuildEvent>
|
|
<Command></Command>
|
|
</PreBuildEvent>
|
|
<ClCompile>
|
|
<AdditionalIncludeDirectories>..\..\..\cogl-path\tesselator;..\..\..\cogl\winsys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>$(ReleaseLibBuildDefines);$(CoglPathBuildDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
|
<OutputFile>$(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll</OutputFile>
|
|
<ModuleDefinitionFile>$(IntDir)\$(ProjectName).def</ModuleDefinitionFile>
|
|
<ImportLibrary>$(TargetDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<SubSystem>Windows</SubSystem>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<TargetMachine>MachineX64</TargetMachine>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
#include "cogl-path.vs10.sourcefiles"
|
|
<ClCompile Include="..\..\..\cogl-path\cogl-path-enum-types.c" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<CustomBuild Include="..\..\..\cogl-path\cogl-path-enum-types.h.in">
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating ..\..\..\cogl-path\cogl-path-enum-types.h</Message>
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GenCoglPathEnumsH)</Command>
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\..\cogl-path\cogl-path-enum-types.h;%(Outputs)</Outputs>
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Generating ..\..\..\cogl-path\cogl-path-enum-types.h</Message>
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GenCoglPathEnumsH)</Command>
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\..\cogl-path\cogl-path-enum-types.h;%(Outputs)</Outputs>
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating ..\..\..\cogl-path\cogl-path-enum-types.h</Message>
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GenCoglPathEnumsH)</Command>
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\..\cogl-path\cogl-path-enum-types.h;%(Outputs)</Outputs>
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Generating ..\..\..\cogl-path\cogl-path-enum-types.h</Message>
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GenCoglPathEnumsH)</Command>
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\..\cogl-path\cogl-path-enum-types.h;%(Outputs)</Outputs>
|
|
</CustomBuild>
|
|
<CustomBuild Include="..\..\..\cogl-path\cogl-path-enum-types.c.in">
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating ..\..\..\cogl-path\cogl-path-enum-types.c</Message>
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GenCoglPathEnumsC)</Command>
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\..\cogl-path\cogl-path-enum-types.c;%(Outputs)</Outputs>
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Generating ..\..\..\cogl-path\cogl-path-enum-types.c</Message>
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GenCoglPathEnumsC)</Command>
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\..\cogl-path\cogl-path-enum-types.c;%(Outputs)</Outputs>
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating ..\..\..\cogl-path\cogl-path-enum-types.c</Message>
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GenCoglPathEnumsC)</Command>
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\..\cogl-path\cogl-path-enum-types.c;%(Outputs)</Outputs>
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Generating ..\..\..\cogl-path\cogl-path-enum-types.c</Message>
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GenCoglPathEnumsC)</Command>
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\..\cogl-path\cogl-path-enum-types.c;%(Outputs)</Outputs>
|
|
</CustomBuild>
|
|
<CustomBuild Include="..\..\..\cogl-path\cogl-path.symbols">
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating cogl-path.symbols...</Message>
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GenerateCoglPathDef)</Command>
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)\cogl-path.def;%(Outputs)</Outputs>
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Generating cogl-path.symbols...</Message>
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GenerateCoglPathDef)</Command>
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)\cogl-path.def;%(Outputs)</Outputs>
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating cogl-path.symbols...</Message>
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GenerateCoglPathDef)</Command>
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)\cogl-path.def;%(Outputs)</Outputs>
|
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Generating cogl-path.symbols...</Message>
|
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GenerateCoglPathDef)</Command>
|
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)\cogl-path.def;%(Outputs)</Outputs>
|
|
</CustomBuild>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="cogl.vcxproj">
|
|
<Project>{f3a80987-5411-43db-a23b-06f2076e1206}</Project>
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
</ImportGroup>
|
|
</Project>
|