From 2565d4c44de053e4fecc725c06c584a3296ec61f Mon Sep 17 00:00:00 2001 From: Elisha Riedlinger Date: Mon, 19 Feb 2018 18:38:56 -0800 Subject: [PATCH] Add Stub.ini config file --- Dllmain/BuildNo.rc | 2 +- Settings/Stub.ini | 6 ++++++ Stub/BuildNo.rc | 2 +- Stub/stub.vcxproj | 2 ++ dxwrapper.vcxproj | 1 + dxwrapper.vcxproj.filters | 3 +++ 6 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 Settings/Stub.ini diff --git a/Dllmain/BuildNo.rc b/Dllmain/BuildNo.rc index 57dda37f..a18c8850 100644 --- a/Dllmain/BuildNo.rc +++ b/Dllmain/BuildNo.rc @@ -1 +1 @@ -#define BUILD_NUMBER 2382 +#define BUILD_NUMBER 2383 diff --git a/Settings/Stub.ini b/Settings/Stub.ini new file mode 100644 index 00000000..71a6ffd6 --- /dev/null +++ b/Settings/Stub.ini @@ -0,0 +1,6 @@ +;; Config file for Stub to dxwrapper +[General] +WrapperMode = +RealDllPath = +StubOnly = 0 +LoadFromMemory = 0 diff --git a/Stub/BuildNo.rc b/Stub/BuildNo.rc index 9958f2ed..eb564dd6 100644 --- a/Stub/BuildNo.rc +++ b/Stub/BuildNo.rc @@ -1 +1 @@ -#define BUILD_NUMBER 141 +#define BUILD_NUMBER 142 diff --git a/Stub/stub.vcxproj b/Stub/stub.vcxproj index 3d31360b..4852453c 100644 --- a/Stub/stub.vcxproj +++ b/Stub/stub.vcxproj @@ -55,6 +55,7 @@ IF NOT EXIST "$(TargetDir)Build" mkdir "$(TargetDir)Build" >nul IF NOT EXIST "$(TargetDir)Build\Stub" mkdir "$(TargetDir)Build\Stub" >nul +copy /Y "$(SolutionDir)Settings\Stub.ini" "$(TargetDir)Build\Stub" >nul copy /Y "$(TargetDir)$(TargetName).dll" "$(TargetDir)Build\Stub\bcrypt.dll" >nul copy /Y "$(TargetDir)$(TargetName).dll" "$(TargetDir)Build\Stub\cryptsp.dll" >nul copy /Y "$(TargetDir)$(TargetName).dll" "$(TargetDir)Build\Stub\d2d1.dll" >nul @@ -102,6 +103,7 @@ cmd /c "@echo off && cd /D ""$(ProjectDir)"" && type BuildNo.rc" IF NOT EXIST "$(TargetDir)Build" mkdir "$(TargetDir)Build" >nul IF NOT EXIST "$(TargetDir)Build\Stub" mkdir "$(TargetDir)Build\Stub" >nul +copy /Y "$(SolutionDir)Settings\Stub.ini" "$(TargetDir)Build\Stub" >nul copy /Y "$(TargetDir)$(TargetName).dll" "$(TargetDir)Build\Stub\bcrypt.dll" >nul copy /Y "$(TargetDir)$(TargetName).dll" "$(TargetDir)Build\Stub\cryptsp.dll" >nul copy /Y "$(TargetDir)$(TargetName).dll" "$(TargetDir)Build\Stub\d2d1.dll" >nul diff --git a/dxwrapper.vcxproj b/dxwrapper.vcxproj index 6e79e9c5..b6ca2e95 100644 --- a/dxwrapper.vcxproj +++ b/dxwrapper.vcxproj @@ -230,6 +230,7 @@ cmd /c "@echo off && cd /D ""$(ProjectDir)Dllmain\"" && type Bui + diff --git a/dxwrapper.vcxproj.filters b/dxwrapper.vcxproj.filters index 2e45fd94..77341135 100644 --- a/dxwrapper.vcxproj.filters +++ b/dxwrapper.vcxproj.filters @@ -408,6 +408,9 @@ Wrappers + + Settings +