Skip to content

Commit

Permalink
git patch
Browse files Browse the repository at this point in the history
  • Loading branch information
antokhio committed Oct 18, 2024
1 parent 5a4a3a3 commit 5194b9f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/post-build.cmd
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions src/pre-build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5194b9f

Please sign in to comment.