From 5194b9ff8923f48950dbfd17824f7b588c7dcf1b Mon Sep 17 00:00:00 2001 From: antokhio Date: Fri, 18 Oct 2024 13:07:05 +0300 Subject: [PATCH] git patch --- src/post-build.cmd | 10 ++++++---- src/pre-build.cmd | 2 ++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/post-build.cmd b/src/post-build.cmd index 8b5e7b0..2268bef 100644 --- a/src/post-build.cmd +++ b/src/post-build.cmd @@ -1,9 +1,11 @@ echo %1 %2 %3 %4 -echo %1bin\%2\%3\%4\*.dll +echo "%1bin\%ARG2%\%3\%4\*.*" IF [%2] == "AnyCPU" ( - SET "ARG2=""" -) + "SET "ARG2=" +) else ( + "SET "ARG2=%2" +) -xcopy "%1bin\%ARG2%\%3\%4\*.dll" "%1..\..\lib\%4" /h /i /c /k /e /r /y +xcopy "%1bin\%ARG2%\%3\%4\*.*" "%1..\..\lib\%4" /h /i /c /k /e /r /y xcopy %1..\YogaSharp\yoga\build\Release\*.dll %1..\..\runtimes\win-x64\native /h /i /c /k /e /r /y \ No newline at end of file diff --git a/src/pre-build.cmd b/src/pre-build.cmd index d677aed..ff02778 100644 --- a/src/pre-build.cmd +++ b/src/pre-build.cmd @@ -6,5 +6,7 @@ IF [%1] == [] ( echo %_PATH% +patch -p < patch.diff + cmake %_PATH% -B %_PATH%YogaSharp\yoga\build msbuild %_PATH%YogaSharp\yoga\build\yogacore.vcxproj /p:Configuration=Release /p:Platform=x64 \ No newline at end of file