![]() Once RapidJSON is installed, it is possible to use it from other CMake projects by adding find_package(RapidJSON) line to your CMakeLists.txt. This will install all files according to system preferences. It is possible to install library system-wide by running make install command from the build tree with administrative privileges. You can get detailed output using ctest -V command. To run tests after finished build please run make test or ctest from your build tree. The generated documentation will be available in doc/html directory of the build tree. On successful build you will find compiled test and example binaries in bin directory. On Linux, run make from the build directory. On Windows, build the solution found in the build directory.Windows users can do the same with cmake-gui application. Change to build directory and run cmake.Create directory called build in rapidjson source directory.Execute git submodule update -init to get the files of thirdparty submodules (google test).To generate user documentation and run tests please proceed with the steps below: (optional) googletest for unit and performance testing.(optional) Doxygen to build documentation.RapidJSON uses following software as its dependencies: Just copy the include/rapidjson folder to system or project's include path.Īlternatively, if you are using the vcpkg dependency manager you can download and install rapidjson with CMake integration in a single command: Users can build and run the unit tests on their platform/compiler. Clang 3.4 on Mac OS X (32/64-bit) and iOS.Some platform/compiler combinations which have been tested are shown as follows. Reduce memory overhead of each Value from 24 bytes to 16 bytes in x86-64 architecture.įor other changes please refer to change log.Iterating array/object with C 11 Range-based for loop.Added relaxed JSON syntax (comment, trailing comma, NaN/Infinity).Standard ECMA-404: The JSON Data Interchange Format. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |