Skip to content

Commit

Permalink
Add Stub.ini config file
Browse files Browse the repository at this point in the history
  • Loading branch information
elishacloud committed Feb 20, 2018
1 parent 6ab81a8 commit 2565d4c
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dllmain/BuildNo.rc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define BUILD_NUMBER 2382
#define BUILD_NUMBER 2383
6 changes: 6 additions & 0 deletions Settings/Stub.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
;; Config file for Stub to dxwrapper
[General]
WrapperMode =
RealDllPath =
StubOnly = 0
LoadFromMemory = 0
2 changes: 1 addition & 1 deletion Stub/BuildNo.rc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define BUILD_NUMBER 141
#define BUILD_NUMBER 142
2 changes: 2 additions & 0 deletions Stub/stub.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
<PostBuildEvent>
<Command>IF NOT EXIST "$(TargetDir)Build" mkdir "$(TargetDir)Build" &gt;nul
IF NOT EXIST "$(TargetDir)Build\Stub" mkdir "$(TargetDir)Build\Stub" &gt;nul
copy /Y "$(SolutionDir)Settings\Stub.ini" "$(TargetDir)Build\Stub" &gt;nul
copy /Y "$(TargetDir)$(TargetName).dll" "$(TargetDir)Build\Stub\bcrypt.dll" &gt;nul
copy /Y "$(TargetDir)$(TargetName).dll" "$(TargetDir)Build\Stub\cryptsp.dll" &gt;nul
copy /Y "$(TargetDir)$(TargetName).dll" "$(TargetDir)Build\Stub\d2d1.dll" &gt;nul
Expand Down Expand Up @@ -102,6 +103,7 @@ cmd /c "@echo off &amp;&amp; cd /D ""$(ProjectDir)"" &amp;&amp; type BuildNo.rc"
<PostBuildEvent>
<Command>IF NOT EXIST "$(TargetDir)Build" mkdir "$(TargetDir)Build" &gt;nul
IF NOT EXIST "$(TargetDir)Build\Stub" mkdir "$(TargetDir)Build\Stub" &gt;nul
copy /Y "$(SolutionDir)Settings\Stub.ini" "$(TargetDir)Build\Stub" &gt;nul
copy /Y "$(TargetDir)$(TargetName).dll" "$(TargetDir)Build\Stub\bcrypt.dll" &gt;nul
copy /Y "$(TargetDir)$(TargetName).dll" "$(TargetDir)Build\Stub\cryptsp.dll" &gt;nul
copy /Y "$(TargetDir)$(TargetName).dll" "$(TargetDir)Build\Stub\d2d1.dll" &gt;nul
Expand Down
1 change: 1 addition & 0 deletions dxwrapper.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ cmd /c "@echo off &amp;&amp; cd /D ""$(ProjectDir)Dllmain\"" &amp;&amp; type Bui
<ItemGroup>
<None Include="Settings\AllSettings.ini" />
<None Include="Settings\Settings.ini" />
<None Include="Settings\Stub.ini" />
<None Include="Wrappers\wrapper.def" />
</ItemGroup>
<ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions dxwrapper.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,9 @@
<None Include="Wrappers\wrapper.def">
<Filter>Wrappers</Filter>
</None>
<None Include="Settings\Stub.ini">
<Filter>Settings</Filter>
</None>
</ItemGroup>
<ItemGroup>
<ClInclude Include="DSoundCtrl\dsound.h">
Expand Down

0 comments on commit 2565d4c

Please sign in to comment.