From 86f39ed73a3298eeed32d4b99db60727fa93ce29 Mon Sep 17 00:00:00 2001
From: Pharap <2933055+Pharap@users.noreply.github.com>
Date: Sat, 2 Apr 2022 17:36:03 +0100
Subject: [PATCH] Fix release build
It seems I'd forgotten to include the library linking and the build event for the release build.
---
SDLTemplate.vcxproj | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/SDLTemplate.vcxproj b/SDLTemplate.vcxproj
index b036e3b..56a7a0f 100644
--- a/SDLTemplate.vcxproj
+++ b/SDLTemplate.vcxproj
@@ -123,9 +123,14 @@
MultiThreadedDLL
+ SDL2.lib;SDL2main.lib;SDL2_ttf.lib;SDL2_image.lib;%(AdditionalDependencies)
+ Windows
true
true
+
+ COPY /Y "$(SolutionDir)$(SolutionName)\Lib\x86\*.dll" "$(TargetDir)*.dll"
+
@@ -137,9 +142,14 @@
MultiThreadedDLL
+ SDL2.lib;SDL2main.lib;SDL2_ttf.lib;SDL2_image.lib;%(AdditionalDependencies)
+ Windows
true
true
+
+ COPY /Y "$(SolutionDir)$(SolutionName)\Lib\x64\*.dll" "$(TargetDir)*.dll"
+