From d64a75f3cb5cb0465cd38001bd67600bcd508d67 Mon Sep 17 00:00:00 2001 From: shearer12345 Date: Mon, 17 Aug 2015 15:17:53 +0100 Subject: [PATCH] add post-build event for msvc10/11 to copy SDL2.dll to build folder --- misc/msvc10/quake3.vcxproj | 16 ++++++++++------ misc/msvc11/quake3.vcxproj | 16 ++++++++++------ 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/misc/msvc10/quake3.vcxproj b/misc/msvc10/quake3.vcxproj index 899e0076..fbeb07d8 100644 --- a/misc/msvc10/quake3.vcxproj +++ b/misc/msvc10/quake3.vcxproj @@ -201,8 +201,8 @@ ..\..\code\libs\win32;%(AdditionalLibraryDirectories) - Post build processing.. - rem bash -c "perl ./unix/cons -- release-TA" + copy SDL2.dll + xcopy /Y /S "$(SolutionDir)..\..\code\libs\win32\SDL2.dll" "$(TargetDir)" @@ -313,8 +313,8 @@ ..\..\code\libs\win32;%(AdditionalLibraryDirectories) - Post build processing.. - rem bash -c "perl ./unix/cons -- debug" + copy SDL2.dll + xcopy /Y /S "$(SolutionDir)..\..\code\libs\win32\SDL2.dll" "$(TargetDir)" @@ -424,6 +424,10 @@ false ..\..\code\libs\win32;%(AdditionalLibraryDirectories) + + copy SDL2.dll + xcopy /Y /S "$(SolutionDir)..\..\code\libs\win32\SDL2.dll" "$(TargetDir)" + @@ -528,8 +532,8 @@ ..\..\code\libs\win32;%(AdditionalLibraryDirectories) - Post build processing.. - rem bash -c "perl ./unix/cons -- debug-TA" + copy SDL2.dll + xcopy /Y /S "$(SolutionDir)..\..\code\libs\win32\SDL2.dll" "$(TargetDir)" diff --git a/misc/msvc11/quake3.vcxproj b/misc/msvc11/quake3.vcxproj index cb79d6f0..280c2e47 100644 --- a/misc/msvc11/quake3.vcxproj +++ b/misc/msvc11/quake3.vcxproj @@ -209,8 +209,8 @@ ..\..\code\libs\win32;%(AdditionalLibraryDirectories) - Post build processing.. - rem bash -c "perl ./unix/cons -- release-TA" + copy SDL2.dll + xcopy /Y /S "$(SolutionDir)..\..\code\libs\win32\SDL2.dll" "$(TargetDir)" @@ -321,8 +321,8 @@ ..\..\code\libs\win32;%(AdditionalLibraryDirectories) - Post build processing.. - rem bash -c "perl ./unix/cons -- debug" + copy SDL2.dll + xcopy /Y /S "$(SolutionDir)..\..\code\libs\win32\SDL2.dll" "$(TargetDir)" @@ -432,6 +432,10 @@ false ..\..\code\libs\win32;%(AdditionalLibraryDirectories) + + copy SDL2.dll + xcopy /Y /S "$(SolutionDir)..\..\code\libs\win32\SDL2.dll" "$(TargetDir)" + @@ -536,8 +540,8 @@ ..\..\code\libs\win32;%(AdditionalLibraryDirectories) - Post build processing.. - rem bash -c "perl ./unix/cons -- debug-TA" + copy SDL2.dll + xcopy /Y /S "$(SolutionDir)..\..\code\libs\win32\SDL2.dll" "$(TargetDir)"