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