From 70746ddeec0335fad59903d2332a80b7c35f6b7e Mon Sep 17 00:00:00 2001 From: zerol Date: Sun, 17 Dec 2023 10:49:25 +0800 Subject: [PATCH] minor changes --- README.md | 6 +++--- vcpkg | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) delete mode 160000 vcpkg diff --git a/README.md b/README.md index b2536645..1f606479 100644 --- a/README.md +++ b/README.md @@ -364,13 +364,13 @@ The following compilers are supported: If you **do not** need JSON support or you want to link YYJSON yourself, then reflect-cpp is header-only. Simply copy the contents of the folder `include` into your source repository or add it to your include path. ### Option 2: Include source files into your own build -Simply copy the contents of the folder include into your source repository or add it to your include path and also add src/yyjson.c to your source files for compilation. +Simply copy the contents of the folder `include` into your source repository or add it to your include path and also add `src/yyjson.c` to your source files for compilation. If you need support for other serialization formats like flexbuffers, you should also include and link the respective libraries, as listed in the previous section. ### Option 3 Compilation using cmake -Vcpkg is used to manage dependencies. If you need features other than the out-of-the-box JSON support, you need to bootstrap vcpkg first: +Vcpkg is used to manage dependencies (except for JSON). If you need features other than the out-of-the-box JSON support, you need to bootstrap vcpkg first: ```bash git submodule update --init @@ -378,7 +378,7 @@ git submodule update --init ./vcpkg/bootstrap-vcpkg.bat # Windows ``` -Use in your project: +Use reflect-cpp in your project: ```cmake add_subdirectory(reflect-cpp) # Add this project as a subdirectory diff --git a/vcpkg b/vcpkg deleted file mode 160000 index 50bffcc6..00000000 --- a/vcpkg +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 50bffcc62d7f6571eb32bc1a0b1807e77af1166c