aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx/Ryujinx.csproj
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx/Ryujinx.csproj')
-rw-r--r--Ryujinx/Ryujinx.csproj12
1 files changed, 12 insertions, 0 deletions
diff --git a/Ryujinx/Ryujinx.csproj b/Ryujinx/Ryujinx.csproj
index 08725846..ab0ee599 100644
--- a/Ryujinx/Ryujinx.csproj
+++ b/Ryujinx/Ryujinx.csproj
@@ -5,6 +5,17 @@
<RuntimeIdentifiers>win10-x64;osx-x64;linux-x64</RuntimeIdentifiers>
<OutputType>Exe</OutputType>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+ <Configurations>Debug;Release;Profile Debug;Profile Release</Configurations>
+ </PropertyGroup>
+
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile Release|AnyCPU'">
+ <DefineConstants>TRACE;USE_PROFILING</DefineConstants>
+ <Optimize>true</Optimize>
+ </PropertyGroup>
+
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile Debug|AnyCPU'">
+ <DefineConstants>TRACE;USE_PROFILING</DefineConstants>
+ <Optimize>false</Optimize>
</PropertyGroup>
<ItemGroup>
@@ -17,6 +28,7 @@
<ProjectReference Include="..\Ryujinx.Common\Ryujinx.Common.csproj" />
<ProjectReference Include="..\Ryujinx.Graphics\Ryujinx.Graphics.csproj" />
<ProjectReference Include="..\Ryujinx.HLE\Ryujinx.HLE.csproj" />
+ <ProjectReference Include="..\Ryujinx.Profiler\Ryujinx.Profiler.csproj" />
</ItemGroup>
<ItemGroup>