summaryrefslogtreecommitdiff
path: root/win32/vs10/atk-install.propsin
blob: 81c2dc5451c6589d2de3b5d780356b96314e25de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ImportGroup Label="PropertySheets">
    <Import Project="atk-build-defines.props" />
  </ImportGroup>
  <PropertyGroup Label="UserMacros">
    <BinDir>$(SolutionDir)$(Configuration)\$(Platform)\bin</BinDir>
    <InstalledDlls>$(BinDir)\$(AtkDllPrefix)atk(AtkDllSuffix).dll</InstalledDlls>
    <AtkDoInstall>
mkdir $(CopyDir)\bin

copy $(BinDir)\$(AtkDllPrefix)atk$(AtkDllSuffix).dll $(CopyDir)\bin
copy $(BinDir)\$(AtkDllPrefix)atk$(AtkDllSuffix).pdb $(CopyDir)\bin

mkdir $(CopyDir)\lib
copy $(BinDir)\atk-$(ApiVersion).lib $(CopyDir)\lib

mkdir $(CopyDir)\include\atk-$(ApiVersion)\atk
#include "atk.vs10.headers"

mkdir $(CopyDir)\lib\pkgconfig
copy ..\atk.pc $(CopyDir)\lib\pkgconfig
    </AtkDoInstall>
    <AtkGenPC>$(PythonPath)\python.exe ..\atkpc.py --prefix=$(CopyDir) --version=$(AtkMajorVersion).$(AtkMinorVersion).$(AtkMicroVersion)</AtkGenPC>
    <AtkGenPCX64>$(PythonPathX64)\python.exe ..\atkpc.py --prefix=$(CopyDir) --version=$(AtkMajorVersion).$(AtkMinorVersion).$(AtkMicroVersion)</AtkGenPCX64>
    <AtkPCFiles>..\atk.pc</AtkPCFiles>
  </PropertyGroup>
  <ItemGroup>
    <BuildMacro Include="BinDir">
      <Value>$(BinDir)</Value>
    </BuildMacro>
    <BuildMacro Include="InstalledDlls">
      <Value>$(InstalledDlls)</Value>
    </BuildMacro>
    <BuildMacro Include="AtkDoInstall">
      <Value>$(AtkDoInstall)</Value>
    </BuildMacro>
    <BuildMacro Include="AtkPCFiles">
      <Value>$(AtkPCFiles)</Value>
    </BuildMacro>
  </ItemGroup>
</Project>