Skip to content

Commit 1b5b5e3

Browse files
committed
add civetweb build
1 parent a511fdf commit 1b5b5e3

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

third_party/civetweb.BUILD

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
package(default_visibility = ["//visibility:public"])
2+
3+
cc_library(
4+
name = "civetweb",
5+
srcs = [
6+
"src/CivetServer.cpp",
7+
"src/civetweb.c",
8+
"src/response.inl",
9+
],
10+
hdrs = [
11+
"include/CivetServer.h",
12+
"include/civetweb.h",
13+
],
14+
copts = [
15+
"-DUSE_IPV6",
16+
"-DNDEBUG",
17+
"-DNO_CGI",
18+
"-DNO_CACHING",
19+
"-DNO_SSL",
20+
"-DNO_FILES",
21+
],
22+
textual_hdrs = [
23+
"src/md5.inl",
24+
"src/handle_form.inl",
25+
],
26+
includes = [
27+
"include",
28+
],
29+
visibility = ["//visibility:public"],
30+
)

0 commit comments

Comments
 (0)