-
-
Notifications
You must be signed in to change notification settings - Fork 311
Expand file tree
/
Copy pathDemos.csproj
More file actions
executable file
·47 lines (40 loc) · 1.96 KB
/
Copy pathDemos.csproj
File metadata and controls
executable file
·47 lines (40 loc) · 1.96 KB
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<Configurations>Debug;Release</Configurations>
<LangVersion>latest</LangVersion>
<!--<TieredCompilation>false</TieredCompilation>-->
</PropertyGroup>
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Condition="'$(Configuration)'=='Debug'" Command="dotnet run --project "$(ProjectDir)../DemoContentBuilder" -- "$(ProjectDir)../Demos/Demos.content" -debug" />
<Exec Condition="'$(Configuration)'!='Debug'" Command="dotnet run --project "$(ProjectDir)../DemoContentBuilder" -- "$(ProjectDir)../Demos/Demos.content"" />
</Target>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<Optimize>true</Optimize>
<DefineConstants>TRACE;RELEASE</DefineConstants>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<Optimize>false</Optimize>
</PropertyGroup>
<PropertyGroup>
<DefineConstants>OPENGL</DefineConstants>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../BepuPhysics/BepuPhysics.csproj" />
<ProjectReference Include="../BepuUtilities/BepuUtilities.csproj" />
<ProjectReference Include="../DemoContentLoader/DemoContentLoader.csproj" />
<ProjectReference Include="../DemoRenderer.GL/DemoRenderer.csproj" />
<ProjectReference Include="..\..\Fulfil.NET\Fulfil.Libs\Fulfil.Libs.csproj" />
<ProjectReference Include="..\..\Fulfil.NET\Fulfil.Tests\Fulfil.Tests.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Include="../Demos/**/*.cs" Exclude="../Demos/obj/**/*.cs" Link="%(RecursiveDir)%(FileName)%(Extension)" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="../Demos/Demos.contentarchive" Link="%(RecursiveDir)%(FileName)%(Extension)" />
</ItemGroup>
</Project>