Update VS Projects and related items
[atk.git] / build / win32 / vs10 / atk.props
blobfbaa6cae6e1b972634b169ae51506d673f1374fe
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3   <PropertyGroup Label="UserMacros">
4     <AtkApiVersion>1.0</AtkApiVersion>
5     <AtkDummyPrefix>\"/dummy\"</AtkDummyPrefix>
6     <AtkEtcInstallRoot>..\..\..\..\..\vs10\$(Platform)</AtkEtcInstallRoot>
7     <CopyDir>$(AtkEtcInstallRoot)</CopyDir>
8     <AtkDoInstall>
9 mkdir $(CopyDir)\bin
11 copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*.dll $(CopyDir)\bin
14 mkdir $(CopyDir)\include\atk-$(AtkApiVersion)\atk
16 copy ..\..\..\atk\atk.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
18 copy ..\..\..\atk\atkaction.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
20 copy ..\..\..\atk\atkcomponent.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
22 copy ..\..\..\atk\atkdocument.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
24 copy ..\..\..\atk\atkeditabletext.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
26 copy ..\..\..\atk\atkgobjectaccessible.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
28 copy ..\..\..\atk\atkhyperlink.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
30 copy ..\..\..\atk\atkhyperlinkimpl.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
32 copy ..\..\..\atk\atkhypertext.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
34 copy ..\..\..\atk\atknoopobject.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
36 copy ..\..\..\atk\atknoopobjectfactory.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
38 copy ..\..\..\atk\atkobject.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
40 copy ..\..\..\atk\atkobjectfactory.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
42 copy ..\..\..\atk\atkplug.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
44 copy ..\..\..\atk\atkimage.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
46 copy ..\..\..\atk\atkregistry.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
48 copy ..\..\..\atk\atkrelation.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
50 copy ..\..\..\atk\atkrelationtype.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
52 copy ..\..\..\atk\atkrelationset.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
54 copy ..\..\..\atk\atkselection.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
56 copy ..\..\..\atk\atksocket.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
58 copy ..\..\..\atk\atkstate.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
60 copy ..\..\..\atk\atkstateset.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
62 copy ..\..\..\atk\atkstreamablecontent.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
64 copy ..\..\..\atk\atktable.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
66 copy ..\..\..\atk\atktext.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
68 copy ..\..\..\atk\atkutil.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
70 copy ..\..\..\atk\atkmisc.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
72 copy ..\..\..\atk\atkvalue.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
74 copy ..\..\..\atk\atk-enum-types.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
77 mkdir $(CopyDir)\lib
79 copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*-$(AtkApiVersion).lib $(CopyDir)\lib
81 </AtkDoInstall>
82     <GenerateAtkDef>echo EXPORTS &gt;"..\..\..\atk\atk.def" &amp;&amp; cl /EP ..\..\..\atk\atk.symbols &gt;&gt;"..\..\..\atk\atk.def"</GenerateAtkDef>
83     <AtkDefines>ATK_COMPILATION;DLL_EXPORT;ATK_LOCALEDIR="$(AtkDummyPrefix)/share/locale"</AtkDefines>
84     <AtkLibtoolCompatibleDllPrefix>lib</AtkLibtoolCompatibleDllPrefix>
85     <AtkLibtoolCompatibleDllSuffix>-1.0-0</AtkLibtoolCompatibleDllSuffix>
86     <AtkSeparateVS10DllPrefix />
87     <AtkSeparateVS10DllSuffix>-1-vs10</AtkSeparateVS10DllSuffix>
88     <AtkDllPrefix>$(AtkSeparateVS10DllPrefix)</AtkDllPrefix>
89     <AtkDllSuffix>$(AtkSeparateVS10DllSuffix)</AtkDllSuffix>
90   </PropertyGroup>
91   <PropertyGroup>
92     <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
93     <_PropertySheetDisplayName>atkprops</_PropertySheetDisplayName>
94     <OutDir>$(SolutionDir)$(Configuration)\$(PlatformName)\bin\</OutDir>
95     <IntDir>$(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\</IntDir>
96   </PropertyGroup>
97   <ItemDefinitionGroup>
98     <ClCompile>
99       <AdditionalIncludeDirectories>..\..\..;..\..\..\atk;$(AtkEtcInstallRoot)\include;$(AtkEtcInstallRoot)\include\glib-2.0;$(AtkEtcInstallRoot)\lib\glib-2.0\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
100       <PreprocessorDefinitions>HAVE_CONFIG_H;G_DISABLE_DEPRECATED;G_DISABLE_SINGLE_INCLUDES;%(PreprocessorDefinitions)</PreprocessorDefinitions>
101       <ForcedIncludeFiles>msvc_recommended_pragmas.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
102     </ClCompile>
103     <Link>
104       <AdditionalDependencies>glib-2.0.lib;gobject-2.0.lib;gmodule-2.0.lib;intl.lib;%(AdditionalDependencies)</AdditionalDependencies>
105       <AdditionalLibraryDirectories>$(AtkEtcInstallRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
106     </Link>
107     <PreBuildEvent>
108       <Command>
109 if exist ..\..\..\config.h goto DONE_CONFIG_H
111 copy ..\..\..\config.h.win32 ..\..\..\config.h
113 :DONE_CONFIG_H
115 if exist ..\..\..\atk\atkmarshal.h goto GEN_MARS_C
117 $(AtkEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal ..\..\..\atk\atkmarshal.list --header &gt;..\..\..\atk\atkmarshal.h
119 :GEN_MARS_C
121 if exist ..\..\..\atk\atkmarshal.c goto END
123 $(AtkEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal ..\..\..\atk\atkmarshal.list --body &gt;..\..\..\atk\atkmarshal.c
125 :END
127 </Command>
128     </PreBuildEvent>
129   </ItemDefinitionGroup>
130   <ItemGroup>
131     <BuildMacro Include="AtkApiVersion">
132       <Value>$(AtkApiVersion)</Value>
133     </BuildMacro>
134     <BuildMacro Include="AtkDummyPrefix">
135       <Value>$(AtkDummyPrefix)</Value>
136     </BuildMacro>
137     <BuildMacro Include="AtkEtcInstallRoot">
138       <Value>$(AtkEtcInstallRoot)</Value>
139     </BuildMacro>
140     <BuildMacro Include="CopyDir">
141       <Value>$(CopyDir)</Value>
142     </BuildMacro>
143     <BuildMacro Include="AtkDoInstall">
144       <Value>$(AtkDoInstall)</Value>
145     </BuildMacro>
146     <BuildMacro Include="GenerateAtkDef">
147       <Value>$(GenerateAtkDef)</Value>
148     </BuildMacro>
149     <BuildMacro Include="AtkDefines">
150       <Value>$(AtkDefines)</Value>
151     </BuildMacro>
152     <BuildMacro Include="AtkLibtoolCompatibleDllPrefix">
153       <Value>$(AtkLibtoolCompatibleDllPrefix)</Value>
154     </BuildMacro>
155     <BuildMacro Include="AtkLibtoolCompatibleDllSuffix">
156       <Value>$(AtkLibtoolCompatibleDllSuffix)</Value>
157     </BuildMacro>
158     <BuildMacro Include="AtkSeparateVS10DllPrefix">
159       <Value>$(AtkSeparateVS10DllPrefix)</Value>
160     </BuildMacro>
161     <BuildMacro Include="AtkSeparateVS10DllSuffix">
162       <Value>$(AtkSeparateVS10DllSuffix)</Value>
163     </BuildMacro>
164     <BuildMacro Include="AtkDllPrefix">
165       <Value>$(AtkDllPrefix)</Value>
166     </BuildMacro>
167     <BuildMacro Include="AtkDllSuffix">
168       <Value>$(AtkDllSuffix)</Value>
169     </BuildMacro>
170   </ItemGroup>
171 </Project>