Replace rapidjson with jsoncpp.

This commit is contained in:
Adam Gu
2018-04-12 11:28:22 +08:00
parent 919fa54a98
commit 803ae3eb5f
10 changed files with 8054 additions and 45 deletions
+3 -3
View File
@@ -93,9 +93,9 @@ endif()
add_subdirectory(src/webcc)
if(WEBCC_BUILD_REST_EXAMPLE)
# REST example needs rapidjson to parse and create JSON.
# rapidjson is included as a Git submodule.
include_directories(${PROJECT_SOURCE_DIR}/third_party/rapidjson/include)
# REST example needs jsoncpp to parse and create JSON.
add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/jsoncpp)
include_directories(${PROJECT_SOURCE_DIR}/third_party/jsoncpp)
add_subdirectory(${PROJECT_SOURCE_DIR}/example/rest_book_server)
add_subdirectory(${PROJECT_SOURCE_DIR}/example/rest_book_client)