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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
|
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Required for the project configurations to show up in settings editor -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
</PropertyGroup>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<Prefer32Bit>false</Prefer32Bit>
<FileAlignment>512</FileAlignment>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DefineConstants>TRACE</DefineConstants>
<SignAssembly>true</SignAssembly>
<DefineConstants Condition="'$(TargetFrameworkVersion)' == 'v4.5.1'">NET45;$(DefineConstants)</DefineConstants>
<!-- Source Link Settings -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<RepositoryUrl>https://github.com/zeroc-ice/ice</RepositoryUrl>
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
</PropertyGroup>
<!-- Import Ice version settings -->
<Import Project="$(MSBuildThisFileDirectory)..\..\config\icebuilder.props" Condition="'$(ICE_BIN_DIST)' != 'all'"/>
<Choose>
<When Condition="'$(ICE_BIN_DIST)' != 'all'">
<PropertyGroup>
<IceHome>$(MSBuildThisFileDirectory)..\..</IceHome>
<IceAssembliesDir>$(MSBuildThisFileDirectory)..\lib</IceAssembliesDir>
</PropertyGroup>
<Choose>
<When Condition="'$(OS)' == 'Windows_NT'">
<Choose>
<When Condition="Exists('$(IceHome)\cpp\bin\$(CppPlatform)\$(Configuration)\slice2cs.exe')">
<PropertyGroup>
<IceToolsPath>$(IceHome)\cpp\bin\$(CppPlatform)\$(Configuration)</IceToolsPath>
</PropertyGroup>
</When>
<When Condition="Exists('$(IceHome)\cpp\bin\x64\$(Configuration)\slice2cs.exe')">
<PropertyGroup>
<IceToolsPath>$(IceHome)\cpp\bin\x64\$(Configuration)</IceToolsPath>
</PropertyGroup>
</When>
<When Condition="Exists('$(IceHome)\cpp\bin\Win32\$(Configuration)\slice2cs.exe')">
<PropertyGroup>
<IceToolsPath>$(IceHome)\cpp\bin\Win32\$(Configuration)</IceToolsPath>
</PropertyGroup>
</When>
</Choose>
</When>
<Otherwise>
<PropertyGroup>
<IceToolsPath>$(IceHome)\cpp\bin</IceToolsPath>
</PropertyGroup>
</Otherwise>
</Choose>
</When>
</Choose>
<Choose>
<When Condition="'$(TargetFrameworkVersion)' == 'v4.5.1'">
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(OS)|$(VisualStudioVersion)' == 'Windows_NT|12.0'">
<!-- No warn about ivalid warning numbers, this are emit because we have pragramas to supress some new warnings
that are not valid with old C# compilers -->
<NoWarn>1692;$(NoWarn)</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DebugType>portable</DebugType>
<Optimize>false</Optimize>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DebugType>portable</DebugType>
<Optimize>true</Optimize>
</PropertyGroup>
</Otherwise>
</Choose>
</Project>
|