From abdea5f54d983b312fcda8d77a30fd7569fe0654 Mon Sep 17 00:00:00 2001 From: zerol Date: Sun, 17 Dec 2023 10:55:48 +0800 Subject: [PATCH] Revert "minor changes" This reverts commit 70746ddeec0335fad59903d2332a80b7c35f6b7e. --- README.md | 6 +++--- vcpkg | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) create mode 160000 vcpkg diff --git a/README.md b/README.md index 1f606479..b2536645 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 (except for JSON). 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. 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 reflect-cpp in your project: +Use in your project: ```cmake add_subdirectory(reflect-cpp) # Add this project as a subdirectory diff --git a/vcpkg b/vcpkg new file mode 160000 index 00000000..50bffcc6 --- /dev/null +++ b/vcpkg @@ -0,0 +1 @@ +Subproject commit 50bffcc62d7f6571eb32bc1a0b1807e77af1166c