Skip to content

Commit 2ea91b1

Browse files
authoredMay 26, 2018
Merge pull request #29 from bakwc/web_server
WIP: http api
2 parents 85c4e9f + d8ad395 commit 2ea91b1

14 files changed

+19978
-0
lines changed
 

‎CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@ if(USE_BOOST_CONVERT)
1919
add_definitions(-DUSE_BOOST_CONVERT)
2020
endif()
2121

22+
find_package (Threads)
23+
2224
add_subdirectory(jamspell)
2325
add_subdirectory(main)
2426
add_subdirectory(contrib)
27+
add_subdirectory(web_server)
2528

2629
if(GTest_FOUND)
2730
add_subdirectory(tests)

‎contrib/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ add_subdirectory(phf)
44
add_subdirectory(cityhash)
55
add_subdirectory(bloom)
66
add_subdirectory(tsl)
7+
add_subdirectory(httplib)
8+
add_subdirectory(nlohmann)

‎contrib/httplib/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
add_library(httplib httplib.cpp httplib.h)

‎contrib/httplib/LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2017 yhirose
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

‎contrib/httplib/httplib.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "httplib.h"

0 commit comments

Comments
 (0)
Please sign in to comment.