Refine folder structure; add rapidjson as submodule.
parent
9abf8d99d5
commit
5bc988b093
@ -0,0 +1,3 @@
|
||||
[submodule "third_party/rapidjson"]
|
||||
path = third_party/rapidjson
|
||||
url = https://github.com/Tencent/rapidjson
|
@ -1,23 +0,0 @@
|
||||
if(UNIX)
|
||||
add_definitions(-std=c++11)
|
||||
endif()
|
||||
|
||||
if(WEBCC_ENABLE_UT)
|
||||
add_subdirectory(gtest)
|
||||
add_subdirectory(webcc_unittest)
|
||||
endif()
|
||||
|
||||
if(WEBCC_ENABLE_SOAP)
|
||||
add_subdirectory(pugixml)
|
||||
endif()
|
||||
|
||||
add_subdirectory(webcc)
|
||||
|
||||
if(WEBCC_ENABLE_DEMO)
|
||||
if(WEBCC_ENABLE_SOAP)
|
||||
add_subdirectory(demo/soap/calc_client)
|
||||
add_subdirectory(demo/soap/calc_server)
|
||||
endif()
|
||||
add_subdirectory(demo/rest/book_client)
|
||||
add_subdirectory(demo/rest/book_server)
|
||||
endif()
|
@ -0,0 +1,4 @@
|
||||
Rapidjson is included as a Git submodule because it's a header-only library and easy to integrate.
|
||||
Pugixml is not a Git submodule because its Git repo is not well structured. It does have a CMakeLists.txt but it's difficult to integrate.
|
||||
|
||||
TODO: Use Git submodule for gtest?
|
@ -0,0 +1 @@
|
||||
Subproject commit 8022a5f79c7490e2a9dd5934ac9c77b6d5555a6d
|
Loading…
Reference in New Issue