154 lines
6.2 KiB
XML
154 lines
6.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net6.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<LangVersion>Preview</LangVersion>
|
|
<Nullable>warnings</Nullable>
|
|
<StartupObject>StgSharp.Program</StartupObject>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
|
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
|
<ErrorReport>none</ErrorReport>
|
|
<SignAssembly>False</SignAssembly>
|
|
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
|
|
<PackageLicenseExpression> MIT</PackageLicenseExpression>
|
|
<IncludeSymbols>False</IncludeSymbols>
|
|
<Platforms>AnyCPU;x64</Platforms>
|
|
<BaseOutputPath>$(SolutionDir)Output</BaseOutputPath>
|
|
<RunPostBuildEvent>Always</RunPostBuildEvent>
|
|
<Configurations>Debug;Release;RealDebug;Benchmark;Toollist</Configurations>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<Optimize>False</Optimize>
|
|
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Benchmark|AnyCPU'">
|
|
<Optimize>True</Optimize>
|
|
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Toollist|AnyCPU'">
|
|
<Optimize>True</Optimize>
|
|
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='RealDebug|AnyCPU'">
|
|
<Optimize>True</Optimize>
|
|
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<Optimize>False</Optimize>
|
|
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Benchmark|x64'">
|
|
<Optimize>True</Optimize>
|
|
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Toollist|x64'">
|
|
<Optimize>True</Optimize>
|
|
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='RealDebug|x64'">
|
|
<Optimize>True</Optimize>
|
|
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
<Optimize>True</Optimize>
|
|
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<Optimize>True</Optimize>
|
|
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<IsWindows Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true'">true</IsWindows>
|
|
<IsOSX Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'">true</IsOSX>
|
|
<IsLinux Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'">true</IsLinux>
|
|
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(IsWindows)'=='true'">
|
|
<DefineConstants>Windows</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(IsOSX)'=='true'">
|
|
<DefineConstants>OSX</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(IsLinux)'=='true'">
|
|
<DefineConstants>Linux</DefineConstants>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Remove="Entities\**" />
|
|
<Compile Remove="Geometries\**" />
|
|
<Compile Remove="Math\**" />
|
|
<Compile Remove="MVVM\**" />
|
|
<EmbeddedResource Remove="Entities\**" />
|
|
<EmbeddedResource Remove="Geometries\**" />
|
|
<EmbeddedResource Remove="Math\**" />
|
|
<EmbeddedResource Remove="MVVM\**" />
|
|
<None Remove="Entities\**" />
|
|
<None Remove="Geometries\**" />
|
|
<None Remove="Math\**" />
|
|
<None Remove="MVVM\**" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="SSG_errorlog.log" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.49-beta">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="System.Collections.Concurrent" Version="4.3.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\StgSharp.Modeling\StgSharp.Modeling.csproj" />
|
|
<ProjectReference Include="..\StgSharp\StgSharp.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Update="Shader\awesomeface.png">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="Shader\fbo.frag">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="Shader\fbo.vert">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="Shader\Image1.png">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="Shader\main.frag">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="Shader\main.vert">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="Shader\particle.vert">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="Shader\particle.frag">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
|
<Exec Command="xcopy /E /I /Y $(SolutionDir)build $(OutDir)" />
|
|
</Target>
|
|
|
|
</Project>
|
|
|