Skip to content

Commit

Permalink
Include build definition constants in csproj files in RELEASE builds …
Browse files Browse the repository at this point in the history
…in the U3 projects.
  • Loading branch information
blakeohare committed Apr 9, 2022
1 parent 2986bce commit 1b06342
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Compiler/U3/U3Mac.csproj
Expand Up @@ -8,6 +8,10 @@
<DefineConstants>DEBUG;TRACE;MAC</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DefineConstants>RELEASE;TRACE;MAC</DefineConstants>
</PropertyGroup>

<ItemGroup>
<EmbeddedResource Include="u3\*.html" />
<EmbeddedResource Include="u3\*.js" />
Expand Down
4 changes: 4 additions & 0 deletions Compiler/U3/U3Windows.csproj
Expand Up @@ -9,6 +9,10 @@
<DefineConstants>DEBUG;TRACE;WINDOWS</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DefineConstants>RELEASE;TRACE;WINDOWS</DefineConstants>
</PropertyGroup>

<ItemGroup>
<EmbeddedResource Include="u3\*.html" />
<EmbeddedResource Include="u3\*.js" />
Expand Down

0 comments on commit 1b06342

Please sign in to comment.