Visual Studio builds: Adapt to the Python-fied glib-genmarshal
[platform/upstream/atk.git] / win32 / vs10 / atk.vcxprojin
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3   <ItemGroup Label="ProjectConfigurations">
4     <ProjectConfiguration Include="Debug|Win32">
5       <Configuration>Debug</Configuration>
6       <Platform>Win32</Platform>
7     </ProjectConfiguration>
8     <ProjectConfiguration Include="Debug|x64">
9       <Configuration>Debug</Configuration>
10       <Platform>x64</Platform>
11     </ProjectConfiguration>
12     <ProjectConfiguration Include="Release|Win32">
13       <Configuration>Release</Configuration>
14       <Platform>Win32</Platform>
15     </ProjectConfiguration>
16     <ProjectConfiguration Include="Release|x64">
17       <Configuration>Release</Configuration>
18       <Platform>x64</Platform>
19     </ProjectConfiguration>
20   </ItemGroup>
21   <PropertyGroup Label="Globals">
22     <ProjectGuid>{86EACD59-F69F-4AAD-854B-AA03D5447360}</ProjectGuid>
23     <RootNamespace>atk</RootNamespace>
24     <Keyword>Win32Proj</Keyword>
25   </PropertyGroup>
26   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
27   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
28     <ConfigurationType>DynamicLibrary</ConfigurationType>
29     <CharacterSet>MultiByte</CharacterSet>
30     <WholeProgramOptimization>true</WholeProgramOptimization>
31     <PlatformToolset>v100</PlatformToolset>
32   </PropertyGroup>
33   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
34     <ConfigurationType>DynamicLibrary</ConfigurationType>
35     <CharacterSet>MultiByte</CharacterSet>
36     <PlatformToolset>v100</PlatformToolset>
37   </PropertyGroup>
38   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
39     <ConfigurationType>DynamicLibrary</ConfigurationType>
40     <CharacterSet>MultiByte</CharacterSet>
41     <PlatformToolset>v100</PlatformToolset>
42   </PropertyGroup>
43   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
44     <ConfigurationType>DynamicLibrary</ConfigurationType>
45     <CharacterSet>MultiByte</CharacterSet>
46     <PlatformToolset>v100</PlatformToolset>
47   </PropertyGroup>
48   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
49   <ImportGroup Label="ExtensionSettings">
50   </ImportGroup>
51   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
52     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
53     <Import Project="atk-gen-src.props" />
54   </ImportGroup>
55   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
56     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
57     <Import Project="atk-gen-src.props" />
58   </ImportGroup>
59   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
60     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61     <Import Project="atk-gen-src.props" />
62   </ImportGroup>
63   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
64     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65     <Import Project="atk-gen-src.props" />
66   </ImportGroup>
67   <PropertyGroup Label="UserMacros" />
68   <PropertyGroup>
69     <LinkIncremental Condition="'$(Configuration)'=='Debug'">true</LinkIncremental>
70     <LinkIncremental Condition="'$(Configuration)'=='Release'">false</LinkIncremental>
71   </PropertyGroup>
72   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
73     <ClCompile>
74       <Optimization>Disabled</Optimization>
75       <PreprocessorDefinitions>_DEBUG;$(AtkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
76       <MinimalRebuild>true</MinimalRebuild>
77       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
78       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
79       <PrecompiledHeader>
80       </PrecompiledHeader>
81       <WarningLevel>Level3</WarningLevel>
82       <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
83     </ClCompile>
84     <Link>
85       <OutputFile>$(OutDir)$(AtkDllPrefix)$(ProjectName)$(AtkDllSuffix).dll</OutputFile>
86       <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
87       <GenerateDebugInformation>true</GenerateDebugInformation>
88       <SubSystem>Windows</SubSystem>
89       <ImportLibrary>$(OutDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary>
90       <TargetMachine>MachineX86</TargetMachine>
91     </Link>
92   </ItemDefinitionGroup>
93   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
94     <ClCompile>
95       <Optimization>MaxSpeed</Optimization>
96       <IntrinsicFunctions>true</IntrinsicFunctions>
97       <PreprocessorDefinitions>$(AtkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
98       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
99       <FunctionLevelLinking>true</FunctionLevelLinking>
100       <PrecompiledHeader>
101       </PrecompiledHeader>
102       <WarningLevel>Level3</WarningLevel>
103       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
104     </ClCompile>
105     <Link>
106       <OutputFile>$(OutDir)$(AtkDllPrefix)$(ProjectName)$(AtkDllSuffix).dll</OutputFile>
107       <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
108       <GenerateDebugInformation>true</GenerateDebugInformation>
109       <SubSystem>Windows</SubSystem>
110       <OptimizeReferences>true</OptimizeReferences>
111       <EnableCOMDATFolding>true</EnableCOMDATFolding>
112       <ImportLibrary>$(OutDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary>
113       <TargetMachine>MachineX86</TargetMachine>
114     </Link>
115   </ItemDefinitionGroup>
116   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
117     <ClCompile>
118       <Optimization>Disabled</Optimization>
119       <PreprocessorDefinitions>_DEBUG;$(AtkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
120       <MinimalRebuild>true</MinimalRebuild>
121       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
122       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
123       <PrecompiledHeader>
124       </PrecompiledHeader>
125       <WarningLevel>Level3</WarningLevel>
126       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
127     </ClCompile>
128     <Link>
129       <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
130       <OutputFile>$(OutDir)$(AtkDllPrefix)$(ProjectName)$(AtkDllSuffix).dll</OutputFile>
131       <GenerateDebugInformation>true</GenerateDebugInformation>
132       <SubSystem>Windows</SubSystem>
133       <ImportLibrary>$(TargetDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary>
134       <TargetMachine>MachineX64</TargetMachine>
135     </Link>
136   </ItemDefinitionGroup>
137   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
138     <ClCompile>
139       <PreprocessorDefinitions>$(AtkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
140       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
141       <PrecompiledHeader>
142       </PrecompiledHeader>
143       <WarningLevel>Level3</WarningLevel>
144       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
145     </ClCompile>
146     <Link>
147       <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
148       <OutputFile>$(OutDir)$(AtkDllPrefix)$(ProjectName)$(AtkDllSuffix).dll</OutputFile>
149       <GenerateDebugInformation>true</GenerateDebugInformation>
150       <SubSystem>Windows</SubSystem>
151       <OptimizeReferences>true</OptimizeReferences>
152       <EnableCOMDATFolding>true</EnableCOMDATFolding>
153       <ImportLibrary>$(TargetDir)$(ProjectName)-$(ApiVersion).lib</ImportLibrary>
154       <TargetMachine>MachineX64</TargetMachine>
155     </Link>
156   </ItemDefinitionGroup>
157   <ItemGroup>
158 #include "atk.vs10.sourcefiles"
159   </ItemGroup>
160   <ItemGroup>
161     <CustomBuild Include="..\..\config.h.win32">
162       <Message>Copying config.h from config.h.win32...</Message>
163       <Command>$(GenConfigH)</Command>
164       <Outputs>..\..\config.h;%(Outputs)</Outputs>
165     </CustomBuild>
166     <CustomBuild Include="..\..\atk\atkmarshal.list">
167       <Message Condition="'$(Platform)'=='Win32'">Generating Marshalling Sources...</Message>
168       <Command Condition="'$(Platform)'=='Win32'">$(GenMarshalSrc)</Command>
169       <Outputs Condition="'$(Platform)'=='Win32'">..\..\atk\atkmarshal.h;..\..\atk\atkmarshal.c;%(Outputs)</Outputs>
170       <Message Condition="'$(Platform)'=='x64'">Generating Marshalling Sources...</Message>
171       <Command Condition="'$(Platform)'=='x64'">$(GenMarshalSrcX64)</Command>
172       <Outputs Condition="'$(Platform)'=='x64'">..\..\atk\atkmarshal.h;..\..\atk\atkmarshal.c;%(Outputs)</Outputs>
173     </CustomBuild>
174   </ItemGroup>
175   <ItemGroup>
176     <ResourceCompile Include="..\..\atk\atk.rc" />
177   </ItemGroup>
178   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
179   <ImportGroup Label="ExtensionTargets">
180   </ImportGroup>
181 </Project>