Skip to content

Commit

Permalink
Add debug constants for the correct configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
TomGrobbe committed May 21, 2020
1 parent f205d9a commit d18dff7
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions MenuAPI/MenuAPI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,22 @@
<PackageLicenseFile>license.txt</PackageLicenseFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)' == 'Debug FiveM' Or '$(Configuration)' == 'Release FiveM'">
<PropertyGroup Condition="'$(Configuration)' == 'Release FiveM'">
<DefineConstants>FIVEM</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)' == 'Debug FiveM'">
<DefineConstants>FIVEM;DEBUG</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)' == 'Debug RedM' Or '$(Configuration)' == 'Release RedM'">
<PropertyGroup Condition="'$(Configuration)' == 'Release RedM'">
<DefineConstants>REDM</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)' == 'Debug RedM'">
<DefineConstants>REDM;DEBUG</DefineConstants>
</PropertyGroup>

<ItemGroup>
<Compile Include="..\shared\RedM\Controls.cs" Link="Controls.cs" />
</ItemGroup>
Expand Down

0 comments on commit d18dff7

Please sign in to comment.