1 # Features that can be enabled for cmake (see CMakeLists.txt)
3 option(ENABLE_WERROR "Turn on compile time warnings")
4 option(ENABLE_DEBUG "Turn on debug output")
5 option(ENABLE_THREADS "Turn on threading in apps" ON)
6 option(ENABLE_APP "Build applications (nghttp, nghttpd, nghttpx and h2load)"
8 option(ENABLE_HPACK_TOOLS "Build HPACK tools"
9 ${ENABLE_HPACK_TOOLS_DEFAULT})
10 option(ENABLE_ASIO_LIB "Build C++ libnghttp2_asio library")
11 option(ENABLE_EXAMPLES "Build examples"
12 ${ENABLE_EXAMPLES_DEFAULT})
13 option(ENABLE_PYTHON_BINDINGS "Build Python bindings"
14 ${ENABLE_PYTHON_BINDINGS_DEFAULT})
15 option(ENABLE_FAILMALLOC "Build failmalloc test program" ON)
16 option(ENABLE_LIB_ONLY "Build libnghttp2 only. This is a short hand for -DENABLE_APP=0 -DENABLE_EXAMPLES=0 -DENABLE_HPACK_TOOLS=0 -DENABLE_PYTHON_BINDINGS=0")
17 option(ENABLE_STATIC_LIB "Build libnghttp2 in static mode also")
18 option(ENABLE_SHARED_LIB "Build libnghttp2 as a shared library" ON)
19 option(ENABLE_STATIC_CRT "Build libnghttp2 against the MS LIBCMT[d]")
20 option(ENABLE_HTTP3 "Enable HTTP/3 support" OFF)
22 option(WITH_LIBXML2 "Use libxml2"
23 ${WITH_LIBXML2_DEFAULT})
24 option(WITH_JEMALLOC "Use jemalloc"
25 ${WITH_JEMALLOC_DEFAULT})
26 option(WITH_SPDYLAY "Use spdylay"
27 ${WITH_SPDYLAY_DEFAULT})
28 option(WITH_MRUBY "Use mruby")
29 option(WITH_NEVERBLEED "Use neverbleed")