diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index 30763b2..50001cb 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -42,6 +42,11 @@ jobs: # curl -fLJO http://www.dev-c.com/files/$ScriptHookZip curl -fLJO https://github.com/illusion0001/ScriptHook-Mirrors/releases/download/mirrors/$ScriptHookZip 7z x $ScriptHookZip -aos + - name: Setup yaml-cpp + working-directory: external/yaml-cpp + run: | + cmake -G "Visual Studio 17 2022" -DYAML_BUILD_SHARED_LIBS=OFF -B build -S . + msbuild /m /p:Configuration=${{ env.BUILD_CONFIGURATION }} /p:Platform=x64 .\build\YAML_CPP.sln - name: Build x64 run: msbuild /m /p:Configuration=${{ env.BUILD_CONFIGURATION }} /p:Platform=x64 -maxcpucount:1 Windows-Game-Patches-x64.sln - name: Build Win32 diff --git a/.gitmodules b/.gitmodules index bdb1656..846a0c5 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "external/inipp"] path = external/inipp url = https://github.com/mcmtroffaes/inipp.git +[submodule "external/yaml-cpp"] + path = external/yaml-cpp + url = https://github.com/jbeder/yaml-cpp.git diff --git a/external/yaml-cpp b/external/yaml-cpp new file mode 160000 index 0000000..1d8ca1f --- /dev/null +++ b/external/yaml-cpp @@ -0,0 +1 @@ +Subproject commit 1d8ca1f35eb3a9c9142462b28282a848e5d29a91