From cb522a0959e3d8db19895d08a135fedaa2fa7751 Mon Sep 17 00:00:00 2001 From: Harvey Fong Date: Thu, 10 Apr 2025 19:45:05 -0600 Subject: [PATCH] second try at msbuild --- README.md | 7 ++++--- patch_libplist/config.h | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 patch_libplist/config.h diff --git a/README.md b/README.md index e391c25..f4e554e 100644 --- a/README.md +++ b/README.md @@ -85,9 +85,10 @@ cd ../.. git clone https://github.com/libimobiledevice/libplist git clone https://github.com/jpaver/opengametools.git git clone https://github.com/oomer/vmax2bella.git -cp vmax2bella/patch_libplist/libplist.vcxproj ../libplist -cp vmax2bella/patch_libplist/cnary.c ../libplist/libcnary/cnary.c -cp vmax2bella/patch_libplist/plist.c ../libplist/libcnary/plist.c +copy .\vmax2bella\patch_libplist\libplist.vcxproj .\libplist +copy /Y .\vmax2bella\patch_libplist\config.h .\libplist\src\config.h +copy /Y .\vmax2bella\patch_libplist\cnary.c .\libplist\libcnary\cnary.c +copy /Y .\vmax2bella\patch_libplist\plist.c .\libplist\src\plist.c cd libplist msbuild libplist.vcxproj /p:Configuration=release /p:Platform=x64 /p:PlatformToolset=v143 cd .. diff --git a/patch_libplist/config.h b/patch_libplist/config.h new file mode 100644 index 0000000..2844fb4 --- /dev/null +++ b/patch_libplist/config.h @@ -0,0 +1,14 @@ +$ cat config.h +#ifndef CONFIG_H +#define CONFIG_H + +#define PACKAGE_VERSION "2.4.0" +#define PACKAGE "libplist" +#define PACKAGE_BUGREPORT "https://github.com/libimobiledevice/libplist/issues" +#define PACKAGE_NAME "libplist" +#define PACKAGE_STRING "libplist 2.4.0" +#define PACKAGE_TARNAME "libplist" +#define PACKAGE_URL "https://libimobiledevice.org" + +#endif /* CONFIG_H */ +