Skip to content

Commit

Permalink
switch to submodules for wil, gzcom-dll and sc4-resource-loading-hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
memo33 committed Mar 28, 2024
1 parent 440e76b commit a6629e4
Show file tree
Hide file tree
Showing 144 changed files with 15 additions and 9,041 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/vendor/wil/
/vendor/xwin
/submenus
*submenus.dll
Expand Down
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[submodule "vendor/wil"]
path = vendor/wil
url = https://github.com/microsoft/wil.git
[submodule "vendor/gzcom-dll"]
path = vendor/gzcom-dll
url = https://github.com/nsgomez/gzcom-dll.git
[submodule "vendor/sc4-resource-loading-hooks"]
path = vendor/sc4-resource-loading-hooks
url = https://github.com/0xC0000054/sc4-resource-loading-hooks.git
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ compile:
/D "_WIN32" /D "NDEBUG" /D "_UNICODE" /D "UNICODE" \
/D "_USRDLL" /D "_WINDLL" \
/imsvc ../vendor/xwin/crt/include /imsvc ../vendor/xwin/sdk/include/ucrt /imsvc ../vendor/xwin/sdk/include/um /imsvc ../vendor/xwin/sdk/include/shared \
/I ../vendor/gzcom-dll/include \
/I ../vendor/gzcom-dll/gzcom-dll/include \
/I ../vendor/wil/include \
/I ../vendor/sc4-resource-loading-hooks/src/public/include \
/o memo.submenus.dll ./*.cpp ../vendor/gzcom-dll/src/* \
/o memo.submenus.dll ./*.cpp ../vendor/gzcom-dll/gzcom-dll/src/{cRZCOMDllDirector,cRZBaseString}.cpp \
/link /libpath:../vendor/xwin/crt/lib/x86 /libpath:../vendor/xwin/sdk/lib/um/x86 /libpath:../vendor/xwin/sdk/lib/ucrt/x86 \
version.lib ole32.lib
#
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ Therefore, you should usually change the Instance ID whenever you copy an existi
The DLL is compiled using `clang` as a cross-compiler.
Check the [Makefile](Makefile) for details.
```
git submodule update --init
make
```
The source code is mostly compatible with the MSVC compiler as well, but some tweaks may be needed for that.
Expand Down
1 change: 1 addition & 0 deletions vendor/gzcom-dll
Submodule gzcom-dll added at c53450
276 changes: 0 additions & 276 deletions vendor/gzcom-dll/include/GZCLSIDDefs.h

This file was deleted.

75 changes: 0 additions & 75 deletions vendor/gzcom-dll/include/GZMSGIDDefs.h

This file was deleted.

38 changes: 0 additions & 38 deletions vendor/gzcom-dll/include/GZServDecls.h

This file was deleted.

41 changes: 0 additions & 41 deletions vendor/gzcom-dll/include/GZServPtrs.h

This file was deleted.

10 changes: 0 additions & 10 deletions vendor/gzcom-dll/include/SC4Percentage.h

This file was deleted.

9 changes: 0 additions & 9 deletions vendor/gzcom-dll/include/SC4Point.h

This file was deleted.

11 changes: 0 additions & 11 deletions vendor/gzcom-dll/include/SC4Rect.h

This file was deleted.

51 changes: 0 additions & 51 deletions vendor/gzcom-dll/include/cGZAllocatorServiceSTLAllocator.h

This file was deleted.

75 changes: 0 additions & 75 deletions vendor/gzcom-dll/include/cGZCOMLibrary.h

This file was deleted.

34 changes: 0 additions & 34 deletions vendor/gzcom-dll/include/cGZMessage.h

This file was deleted.

Loading

0 comments on commit a6629e4

Please sign in to comment.