Add CMake support

Clean up file structure.
Update build scripts.
This commit is contained in:
Tindy X committed 2019-12-26 20:37:47 +08:00
1 parent e5eb7a4ae2
commit b89a8b1f7c
136 files changed
+326 -88

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#ifndef RAPIDJSON_EXTRA_H_INCLUDED
#define RAPIDJSON_EXTRA_H_INCLUDED
#include <rapidjson/document.h>
#include <string>
void operator >> (const rapidjson::Value& value, std::string& i);
void operator >> (const rapidjson::Value& value, int& i);
std::string GetMember(const rapidjson::Value& value, std::string member);
void GetMember(const rapidjson::Value& value, std::string member, std::string& target);
std::string SerializeObject(const rapidjson::Value& value);
#endif // RAPIDJSON_EXTRA_H_INCLUDED