summaryrefslogtreecommitdiff
path: root/win32/vs10/soup-gen-srcs.props
blob: 4bd5dc17539a756fa627f4b132357e8107a94f90 (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
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ImportGroup Label="PropertySheets">
    <Import Project="soup-build-defines.props" />
  </ImportGroup>
  <PropertyGroup Label="UserMacros">
    <CopyConfigH>copy ..\..\config.h.win32 ..\..\config.h</CopyConfigH>
    <GenSoupVersionH>
$(PythonPath)\python.exe ..\replace.py --action=replace-var --input=..\..\libsoup\soup-version.h.in --output=..\..\libsoup\soup-version.h.tmp1 --var=SOUP_MAJOR_VERSION --outstring=$(SoupMajorVersion)
$(PythonPath)\python.exe ..\replace.py --action=replace-var --input=..\..\libsoup\soup-version.h.tmp1 --output=..\..\libsoup\soup-version.h.tmp2 --var=SOUP_MINOR_VERSION --outstring=$(SoupMinorVersion)
$(PythonPath)\python.exe ..\replace.py --action=replace-var --input=..\..\libsoup\soup-version.h.tmp2 --output=..\..\libsoup\soup-version.h --var=SOUP_MICRO_VERSION --outstring=$(SoupMicroVersion)
del ..\..\libsoup\soup-version.h.tmp1 ..\..\libsoup\soup-version.h.tmp2
        </GenSoupVersionH>
    <GenTldDataInc>$(PythonPath)\python.exe ..\..\libsoup\tld-parser.py ..\..\data\effective_tld_names.dat ..\..\libsoup\tld_data.inc</GenTldDataInc>
  </PropertyGroup>
  <PropertyGroup>
    <_PropertySheetDisplayName>soupgensrcsprops</_PropertySheetDisplayName>
  </PropertyGroup>
  <ItemDefinitionGroup />
  <ItemGroup>
    <BuildMacro Include="CopyConfigH">
      <Value>$(CopyConfigH)</Value>
    </BuildMacro>
    <BuildMacro Include="GenSoupVersionH">
      <Value>$(GenSoupVersionH)</Value>
    </BuildMacro>
    <BuildMacro Include="GenTldDataInc">
      <Value>$(GenTldDataInc)</Value>
    </BuildMacro>
  </ItemGroup>
</Project>