Visual Studio builds: Adapt to the Python-fied glib-genmarshal
[platform/upstream/atk.git] / win32 / vs10 / atk-gen-src.props
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3   <ImportGroup Label="PropertySheets">
4     <Import Project="atk-build-defines.props" />
5   </ImportGroup>
6   <PropertyGroup Label="UserMacros">
7     <GenConfigH>if not exist ..\..\config.h copy ..\..\config.h.win32 ..\..\config.h</GenConfigH>
8     <GenMarshalSrc>
9 cd ..\..\atk
10 if exist $(GLibEtcInstallRoot)\bin\glib-genmarshal $(PythonPath)\python $(GLibEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal atkmarshal.list --header &gt; atkmarshal.h
11 if not exist atkmarshal.h $(GLibEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal atkmarshal.list --header &gt; atkmarshal.h
12 if exist $(GLibEtcInstallRoot)\bin\glib-genmarshal $(PythonPath)\python $(GLibEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal atkmarshal.list --body &gt; atkmarshal.c
13 if not exist atkmarshal.c $(GLibEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal atkmarshal.list --body &gt; atkmarshal.c
14 cd $(SolutionDir)
15     </GenMarshalSrc>
16     <GenMarshalSrcX64>
17 cd ..\..\atk
18 if exist $(GLibEtcInstallRoot)\bin\glib-genmarshal $(PythonPathX64)\python $(GLibEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal atkmarshal.list --header &gt; atkmarshal.h
19 if not exist atkmarshal.h $(GLibEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal atkmarshal.list --header &gt; atkmarshal.h
20 if exist $(GLibEtcInstallRoot)\bin\glib-genmarshal $(PythonPathX64)\python $(GLibEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal atkmarshal.list --body &gt; atkmarshal.c
21 if not exist atkmarshal.c $(GLibEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal atkmarshal.list --body &gt; atkmarshal.c
22 cd $(SolutionDir)
23     </GenMarshalSrcX64>
24   </PropertyGroup>
25   <PropertyGroup>
26     <_PropertySheetDisplayName>atkgensrcprops</_PropertySheetDisplayName>
27   </PropertyGroup>
28   <ItemGroup>
29     <BuildMacro Include="GenConfigH">
30       <Value>$(GenConfigH)</Value>
31     </BuildMacro>
32     <BuildMacro Include="GenMarshalSrc">
33       <Value>$(GenMarshalSrc)</Value>
34     </BuildMacro>
35     <BuildMacro Include="GenMarshalSrcX64">
36       <Value>$(GenMarshalSrcX64)</Value>
37     </BuildMacro>
38   </ItemGroup>
39 </Project>