summaryrefslogtreecommitdiff
path: root/build/win32/vs10/gtk-copy-gdk-broadway.props
blob: 76fc97da80b1bbf6b6e3084f0d4b4722a449a7b1 (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
43
44
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <_PropertySheetDisplayName>gtkcopygdkbroadwayprops</_PropertySheetDisplayName>
  </PropertyGroup>
  <ItemDefinitionGroup>
    <PostBuildEvent>
      <Command>
if "$(Configuration)" == "Release" goto END

if "$(Configuration)" == "Debug" goto END

if "$(Configuration)" == "Release_Broadway" goto DoRelease

if "$(Configuration)" == "Debug_Broadway" goto DoDebug


:DoRelease

mkdir .\Release\$(Platform)\bin

copy /b $(Configuration)\$(Platform)\bin\$(GtkDllPrefix)gdk$(GtkDllSuffix).dll .\Release\$(Platform)\bin\

copy /b $(Configuration)\$(Platform)\bin\gdk-$(ApiVersion).lib .\Release\$(Platform)\bin\

goto END


:DoDebug

mkdir .\Debug\$(Platform)\bin

copy /b $(Configuration)\$(Platform)\bin\$(GtkDllPrefix)gdk$(GtkDllSuffix).dll .\Debug\$(Platform)\bin\

copy /b $(Configuration)\$(Platform)\bin\gdk-$(ApiVersion).lib .\Debug\$(Platform)\bin\

goto END


:END
      </Command>
    </PostBuildEvent>
  </ItemDefinitionGroup>
</Project>