2016-02-15 00:12:07 +00:00
|
|
|
# Features that can be enabled for cmake (see CMakeLists.txt)
|
|
|
|
|
|
|
|
option(ENABLE_WERROR "Turn on compile time warnings")
|
|
|
|
option(ENABLE_DEBUG "Turn on debug output")
|
|
|
|
option(ENABLE_THREADS "Turn on threading in apps" ON)
|
|
|
|
option(ENABLE_APP "Build applications (nghttp, nghttpd, nghttpx and h2load)"
|
|
|
|
${ENABLE_APP_DEFAULT})
|
|
|
|
option(ENABLE_HPACK_TOOLS "Build HPACK tools"
|
|
|
|
${ENABLE_HPACK_TOOLS_DEFAULT})
|
|
|
|
option(ENABLE_EXAMPLES "Build examples"
|
|
|
|
${ENABLE_EXAMPLES_DEFAULT})
|
|
|
|
option(ENABLE_FAILMALLOC "Build failmalloc test program" ON)
|
2022-12-24 09:23:18 +00:00
|
|
|
option(ENABLE_LIB_ONLY "Build libnghttp2 only. This is a short hand for -DENABLE_APP=0 -DENABLE_EXAMPLES=0 -DENABLE_HPACK_TOOLS=0")
|
2018-03-12 22:29:46 +00:00
|
|
|
option(ENABLE_STATIC_LIB "Build libnghttp2 in static mode also")
|
2018-12-27 18:06:02 +00:00
|
|
|
option(ENABLE_SHARED_LIB "Build libnghttp2 as a shared library" ON)
|
2019-09-14 23:01:21 +00:00
|
|
|
option(ENABLE_STATIC_CRT "Build libnghttp2 against the MS LIBCMT[d]")
|
2021-08-22 14:10:36 +00:00
|
|
|
option(ENABLE_HTTP3 "Enable HTTP/3 support" OFF)
|
2021-07-06 20:06:03 +00:00
|
|
|
option(ENABLE_DOC "Build documentation" ON)
|
2016-02-15 00:12:07 +00:00
|
|
|
|
|
|
|
option(WITH_LIBXML2 "Use libxml2"
|
|
|
|
${WITH_LIBXML2_DEFAULT})
|
|
|
|
option(WITH_JEMALLOC "Use jemalloc"
|
|
|
|
${WITH_JEMALLOC_DEFAULT})
|
|
|
|
option(WITH_MRUBY "Use mruby")
|
|
|
|
option(WITH_NEVERBLEED "Use neverbleed")
|
2021-11-16 13:03:30 +00:00
|
|
|
option(WITH_LIBBPF "Use libbpf")
|
2016-02-15 00:12:07 +00:00
|
|
|
|
|
|
|
# vim: ft=cmake:
|