-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCommonReferencesRhino.csproj
41 lines (41 loc) · 1.78 KB
/
CommonReferencesRhino.csproj
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
<?xml version="1.0" encoding="utf-8"?>
<!--
Packages used by all projects depending on Rhino
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Choose>
<When Condition="$(Configuration.Contains('R7'))">
<ItemGroup>
<PackageReference Include="RhinoCommon" IncludeAssets="compile;build" />
</ItemGroup>
<PropertyGroup Condition="Exists('$(ProgramW6432)\Rhino 7\System\Rhino.exe') AND $([MSBuild]::IsOSPlatform(Windows))">
<StartProgram>$(ProgramW6432)\Rhino 7\System\Rhino.exe</StartProgram>
<StartArguments>
</StartArguments>
<StartAction>Program</StartAction>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<DefineConstants>$(DefineConstants),RHINOCOMMON_EQUAL_7</DefineConstants>
<DefineConstants>$(DefineConstants),RHINOCOMMON_GREATER_EQUAL_7</DefineConstants>
</PropertyGroup>
</When>
<When Condition="$(Configuration.Contains('R8'))">
<ItemGroup>
<PackageReference Include="RhinoCommon" IncludeAssets="compile;build" />
</ItemGroup>
<PropertyGroup Condition="Exists('$(ProgramW6432)\Rhino 8\System\Rhino.exe') AND $([MSBuild]::IsOSPlatform(Windows))">
<StartProgram>$(ProgramW6432)\Rhino 8\System\Rhino.exe</StartProgram>
<StartArguments>
</StartArguments>
<StartAction>Program</StartAction>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<DefineConstants>$(DefineConstants),RHINOCOMMON_EQUAL_8</DefineConstants>
<DefineConstants>$(DefineConstants),RHINOCOMMON_GREATER_EQUAL_7</DefineConstants>
<DefineConstants>$(DefineConstants),RHINOCOMMON_GREATER_EQUAL_8</DefineConstants>
</PropertyGroup>
</When>
</Choose>
</Project>