forked from AscensionGameDev/Intersect-Engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
25 lines (19 loc) · 1.22 KB
/
Directory.Build.props
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
<Project>
<PropertyGroup>
<IntersectRepoPath Condition="'$(IntersectRepoPath)' == ''">$(MSBuildProjectDirectory)\..</IntersectRepoPath>
</PropertyGroup>
<Import Project=".\Intersect.props" />
<PropertyGroup>
<IntersectProjectName>$(MSBuildProjectName.Substring(10))</IntersectProjectName>
</PropertyGroup>
<PropertyGroup Condition="'$(IntersectProjectName)' == 'Network' AND '$(Configuration.ToLower())' != ''">
<GenerateEachBuild Condition="'$(INTERSECT_GENERATE_EACH_BUILD)' != ''">true</GenerateEachBuild>
<IntersectBuildingAssemblyFile>$(IntersectRepoPath)\Intersect.Building\bin\$(Configuration)\net462\Intersect.Building.dll</IntersectBuildingAssemblyFile>
</PropertyGroup>
<PropertyGroup>
<NetworkKeyOutputDir>$(IntersectRepoPath)\Intersect.Network\bin\$(Configuration)\keys</NetworkKeyOutputDir>
<NetworkKeyOutputDir Condition="'$(Configuration.ToLower())' == 'nofody'">$(IntersectRepoPath)\Intersect.Network\bin\Debug\keys</NetworkKeyOutputDir>
<NetworkHandshakePublicKey>$(NetworkKeyOutputDir)\network.handshake.bkey.pub</NetworkHandshakePublicKey>
<NetworkHandshakePrivateKey>$(NetworkKeyOutputDir)\network.handshake.bkey</NetworkHandshakePrivateKey>
</PropertyGroup>
</Project>