mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
* Project file refactor Move all the .csproj files to the new .NET Core style. This doesn't make any difference for compiling for Framework, but it does reduce a ton of useless boilerplate. As an extension of this, killed a bunch of uncompiled & unmaintained .cs files. Compiling for release (to profile) works now. Removed AnyCPU targets from the solution file. * Fix compiler warnings.
27 lines
1004 B
XML
27 lines
1004 B
XML
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
|
|
<!-- Adds to the DefineConstants to provide things such as platform-specific defines. -->
|
|
<Choose>
|
|
<When Condition="'$(TargetOS)' == 'Windows'">
|
|
<PropertyGroup>
|
|
<DefineConstants>$(DefineConstants);WINDOWS</DefineConstants>
|
|
</PropertyGroup>
|
|
</When>
|
|
<When Condition="'$(TargetOS)' == 'MacOS'" >
|
|
<PropertyGroup>
|
|
<DefineConstants>$(DefineConstants);MACOS;UNIX</DefineConstants>
|
|
</PropertyGroup>
|
|
</When>
|
|
<Otherwise>
|
|
<PropertyGroup>
|
|
<DefineConstants>$(DefineConstants);LINUX;UNIX</DefineConstants>
|
|
</PropertyGroup>
|
|
</Otherwise>
|
|
</Choose>
|
|
<PropertyGroup Condition="'$(FullRelease)' == 'True'">
|
|
<DefineConstants>$(DefineConstants);FULL_RELEASE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Platform)' == 'x64'">
|
|
<DefineConstants>$(DefineConstants);X64</DefineConstants>
|
|
</PropertyGroup>
|
|
</Project>
|