From 271790d22e628169961cef007be1c3f0bdf5da3e Mon Sep 17 00:00:00 2001 From: Daniel Speichert Date: Sun, 15 Jul 2018 17:37:36 -0400 Subject: [PATCH] Upgrade vcxproj + fix path to OpenAL from vcpkg --- .gitignore | 2 ++ src/framework/sound/declarations.h | 4 ++-- vc14/otclient.vcxproj | 26 ++++++++++++++++++++------ 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 5b6d4431..a633534b 100644 --- a/.gitignore +++ b/.gitignore @@ -39,6 +39,8 @@ Thumbs.db .directory src/framework/graphics/dx/ modules/.project/modules.sublime-workspace +vc14/.vs/ +*.dll ################# ## Visual Studio diff --git a/src/framework/sound/declarations.h b/src/framework/sound/declarations.h index 445643ba..ea99c3c2 100644 --- a/src/framework/sound/declarations.h +++ b/src/framework/sound/declarations.h @@ -27,8 +27,8 @@ #define AL_LIBTYPE_STATIC -#include -#include +#include +#include class SoundManager; class SoundSource; diff --git a/vc14/otclient.vcxproj b/vc14/otclient.vcxproj index 037f5073..37297092 100644 --- a/vc14/otclient.vcxproj +++ b/vc14/otclient.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -22,27 +22,28 @@ Win32Proj {17A8F78F-1FFB-4128-A3B3-59CC6C19D89A} otclient + 10.0.17134.0 Application true - v140 + v141 Application true - v140 + v141 Application false - v140 + v141 Application false - v140 + v141 @@ -74,8 +75,11 @@ $(VC_IncludePath);$(WindowsSDK_IncludePath);../src; + $(VC_SourcePath);$(ProjectDir)../src; + + + $(VC_IncludePath);$(WindowsSDK_IncludePath);../src; - $(VC_IncludePath);$(WindowsSDK_IncludePath);../src; @@ -87,6 +91,7 @@ $(PREPROCESSOR_DEFS);_SCL_SECURE_NO_WARNINGS;ZLIB_WINAPI;%(PreprocessorDefinitions) ProgramDatabase Disabled + AdvancedVectorExtensions MachineX86 @@ -97,6 +102,7 @@ $(PREPROCESSOR_DEFS);_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) ProgramDatabase + AdvancedVectorExtensions true @@ -106,6 +112,10 @@ $(PREPROCESSOR_DEFS);%(PreprocessorDefinitions) MultiThreaded + AdvancedVectorExtensions + MaxSpeed + true + true MachineX86 @@ -120,6 +130,10 @@ MultiThreadedDLL ProgramDatabase Level4 + AdvancedVectorExtensions + MaxSpeed + true + true true