Skip to content

Commit

Permalink
Merge pull request #8 from Pharap/fix-release-build
Browse files Browse the repository at this point in the history
Fix release build
  • Loading branch information
Pharap authored Apr 2, 2022
2 parents 338f84a + 86f39ed commit 3980e4c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions SDLTemplate.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,14 @@
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
</ClCompile>
<Link>
<AdditionalDependencies>SDL2.lib;SDL2main.lib;SDL2_ttf.lib;SDL2_image.lib;%(AdditionalDependencies)</AdditionalDependencies>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<PreBuildEvent>
<Command>COPY /Y "$(SolutionDir)$(SolutionName)\Lib\x86\*.dll" "$(TargetDir)*.dll"</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
Expand All @@ -137,9 +142,14 @@
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
</ClCompile>
<Link>
<AdditionalDependencies>SDL2.lib;SDL2main.lib;SDL2_ttf.lib;SDL2_image.lib;%(AdditionalDependencies)</AdditionalDependencies>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<PreBuildEvent>
<Command>COPY /Y "$(SolutionDir)$(SolutionName)\Lib\x64\*.dll" "$(TargetDir)*.dll"</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="Main.cpp" />
Expand Down

0 comments on commit 3980e4c

Please sign in to comment.