Visual C++ build: "Install" atkversion.h
[atk.git] / build / win32 / vs10 / atk.props
blob9ed207afeb14621c2a474f5e4f5243a5f15eb988
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\atkwindow.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
76 copy ..\..\..\atk\atkversion.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
78 copy ..\..\..\atk\atk-enum-types.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk
81 mkdir $(CopyDir)\lib
83 copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*-$(AtkApiVersion).lib $(CopyDir)\lib
85 </AtkDoInstall>
86     <GenerateAtkDef>echo EXPORTS &gt;"..\..\..\atk\atk.def" &amp;&amp; cl /EP ..\..\..\atk\atk.symbols &gt;&gt;"..\..\..\atk\atk.def"</GenerateAtkDef>
87     <AtkDefines>ATK_COMPILATION;DLL_EXPORT;ATK_LOCALEDIR="$(AtkDummyPrefix)/share/locale"</AtkDefines>
88     <AtkLibtoolCompatibleDllPrefix>lib</AtkLibtoolCompatibleDllPrefix>
89     <AtkLibtoolCompatibleDllSuffix>-1.0-0</AtkLibtoolCompatibleDllSuffix>
90     <AtkSeparateVS10DllPrefix />
91     <AtkSeparateVS10DllSuffix>-1-vs10</AtkSeparateVS10DllSuffix>
92     <AtkDllPrefix>$(AtkSeparateVS10DllPrefix)</AtkDllPrefix>
93     <AtkDllSuffix>$(AtkSeparateVS10DllSuffix)</AtkDllSuffix>
94   </PropertyGroup>
95   <PropertyGroup>
96     <_PropertySheetDisplayName>atkprops</_PropertySheetDisplayName>
97     <OutDir>$(SolutionDir)$(Configuration)\$(PlatformName)\bin\</OutDir>
98     <IntDir>$(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\</IntDir>
99   </PropertyGroup>
100   <ItemDefinitionGroup>
101     <ClCompile>
102       <AdditionalIncludeDirectories>..\..\..;..\..\..\atk;$(AtkEtcInstallRoot)\include;$(AtkEtcInstallRoot)\include\glib-2.0;$(AtkEtcInstallRoot)\lib\glib-2.0\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
103       <PreprocessorDefinitions>HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES;%(PreprocessorDefinitions)</PreprocessorDefinitions>
104       <ForcedIncludeFiles>msvc_recommended_pragmas.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
105     </ClCompile>
106     <Link>
107       <AdditionalDependencies>glib-2.0.lib;gobject-2.0.lib;gmodule-2.0.lib;intl.lib;%(AdditionalDependencies)</AdditionalDependencies>
108       <AdditionalLibraryDirectories>$(AtkEtcInstallRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
109     </Link>
110     <PreBuildEvent>
111       <Command>
112 if exist ..\..\..\config.h goto DONE_CONFIG_H
114 copy ..\..\..\config.h.win32 ..\..\..\config.h
116 :DONE_CONFIG_H
118 if exist ..\..\..\atk\atkmarshal.h goto GEN_MARS_C
120 $(AtkEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal ..\..\..\atk\atkmarshal.list --header &gt;..\..\..\atk\atkmarshal.h
122 :GEN_MARS_C
124 if exist ..\..\..\atk\atkmarshal.c goto END
126 $(AtkEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal ..\..\..\atk\atkmarshal.list --body &gt;..\..\..\atk\atkmarshal.c
128 :END
130 </Command>
131     </PreBuildEvent>
132   </ItemDefinitionGroup>
133   <ItemGroup>
134     <BuildMacro Include="AtkApiVersion">
135       <Value>$(AtkApiVersion)</Value>
136     </BuildMacro>
137     <BuildMacro Include="AtkDummyPrefix">
138       <Value>$(AtkDummyPrefix)</Value>
139     </BuildMacro>
140     <BuildMacro Include="AtkEtcInstallRoot">
141       <Value>$(AtkEtcInstallRoot)</Value>
142     </BuildMacro>
143     <BuildMacro Include="CopyDir">
144       <Value>$(CopyDir)</Value>
145     </BuildMacro>
146     <BuildMacro Include="AtkDoInstall">
147       <Value>$(AtkDoInstall)</Value>
148     </BuildMacro>
149     <BuildMacro Include="GenerateAtkDef">
150       <Value>$(GenerateAtkDef)</Value>
151     </BuildMacro>
152     <BuildMacro Include="AtkDefines">
153       <Value>$(AtkDefines)</Value>
154     </BuildMacro>
155     <BuildMacro Include="AtkLibtoolCompatibleDllPrefix">
156       <Value>$(AtkLibtoolCompatibleDllPrefix)</Value>
157     </BuildMacro>
158     <BuildMacro Include="AtkLibtoolCompatibleDllSuffix">
159       <Value>$(AtkLibtoolCompatibleDllSuffix)</Value>
160     </BuildMacro>
161     <BuildMacro Include="AtkSeparateVS10DllPrefix">
162       <Value>$(AtkSeparateVS10DllPrefix)</Value>
163     </BuildMacro>
164     <BuildMacro Include="AtkSeparateVS10DllSuffix">
165       <Value>$(AtkSeparateVS10DllSuffix)</Value>
166     </BuildMacro>
167     <BuildMacro Include="AtkDllPrefix">
168       <Value>$(AtkDllPrefix)</Value>
169     </BuildMacro>
170     <BuildMacro Include="AtkDllSuffix">
171       <Value>$(AtkDllSuffix)</Value>
172     </BuildMacro>
173   </ItemGroup>
174 </Project>