summaryrefslogtreecommitdiff
path: root/csharp/msbuild/icebuilder.csharp.props
blob: a2c482ee84931f6abfae3d253b09cb2b465a46ec (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 xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <!--
     This property file is included by Ice Builder when building
     CSharp projects using the source distribution
    -->

    <!--
     Guess the platform and configuration used with this build
    -->
    <PropertyGroup Condition="Exists('$(IceHome)\cpp\bin\$(Platform)\$(Configuration)\slice2cs.exe')">
        <IceToolsPath>$(IceHome)\cpp\bin\$(Platform)\$(Configuration)</IceToolsPath>
    </PropertyGroup>

    <PropertyGroup Condition="Exists('$(IceHome)\cpp\bin\x64\$(Configuration)\slice2cs.exe') And '$(IceToolsPath)' == ''">
        <IceToolsPath>$(IceHome)\cpp\bin\x64\$(Configuration)</IceToolsPath>
    </PropertyGroup>

    <PropertyGroup Condition="Exists('$(IceHome)\cpp\bin\Win32\$(Configuration)\slice2cs.exe')  And '$(IceToolsPath)' == ''">
        <IceToolsPath>$(IceHome)\cpp\bin\Win32\$(Configuration)</IceToolsPath>
    </PropertyGroup>

    <PropertyGroup Condition="Exists('$(IceHome)\cpp\bin\x64\Release\slice2cs.exe')  And '$(IceToolsPath)' == ''">
        <IceToolsPath>$(IceHome)\cpp\bin\x64\Release</IceToolsPath>
    </PropertyGroup>

    <PropertyGroup Condition="Exists('$(IceHome)\cpp\bin\x64\Debug\slice2cs.exe')  And '$(IceToolsPath)' == ''">
        <IceToolsPath>$(IceHome)\cpp\bin\x64\Debug</IceToolsPath>
    </PropertyGroup>

    <PropertyGroup Condition="Exists('$(IceHome)\cpp\bin\Win32\Release\slice2cs.exe')  And '$(IceToolsPath)' == ''">
        <IceToolsPath>$(IceHome)\cpp\bin\Win32\Release</IceToolsPath>
    </PropertyGroup>

    <PropertyGroup Condition="Exists('$(IceHome)\cpp\bin\Win32\Debug\slice2cs.exe')  And '$(IceToolsPath)' == ''">
        <IceToolsPath>$(IceHome)\cpp\bin\Win32\Debug</IceToolsPath>
    </PropertyGroup>

    <PropertyGroup>
        <IceAssembliesDir>$(IceHome)\csharp\lib\net45</IceAssembliesDir>
    </PropertyGroup>
</Project>