12c593315Sopenharmony_ci# Features that can be enabled for cmake (see CMakeLists.txt) 22c593315Sopenharmony_ci 32c593315Sopenharmony_cioption(ENABLE_WERROR "Turn on compile time warnings") 42c593315Sopenharmony_cioption(ENABLE_DEBUG "Turn on debug output") 52c593315Sopenharmony_cioption(ENABLE_THREADS "Turn on threading in apps" ON) 62c593315Sopenharmony_cioption(ENABLE_APP "Build applications (nghttp, nghttpd, nghttpx and h2load)" 72c593315Sopenharmony_ci ${ENABLE_APP_DEFAULT}) 82c593315Sopenharmony_cioption(ENABLE_HPACK_TOOLS "Build HPACK tools" 92c593315Sopenharmony_ci ${ENABLE_HPACK_TOOLS_DEFAULT}) 102c593315Sopenharmony_cioption(ENABLE_EXAMPLES "Build examples" 112c593315Sopenharmony_ci ${ENABLE_EXAMPLES_DEFAULT}) 122c593315Sopenharmony_cioption(ENABLE_FAILMALLOC "Build failmalloc test program" ON) 132c593315Sopenharmony_cioption(ENABLE_LIB_ONLY "Build libnghttp2 only. This is a short hand for -DENABLE_APP=0 -DENABLE_EXAMPLES=0 -DENABLE_HPACK_TOOLS=0") 142c593315Sopenharmony_cioption(ENABLE_STATIC_LIB "Build libnghttp2 in static mode also") 152c593315Sopenharmony_cioption(ENABLE_SHARED_LIB "Build libnghttp2 as a shared library" ON) 162c593315Sopenharmony_cioption(ENABLE_STATIC_CRT "Build libnghttp2 against the MS LIBCMT[d]") 172c593315Sopenharmony_cioption(ENABLE_HTTP3 "Enable HTTP/3 support" OFF) 182c593315Sopenharmony_cioption(ENABLE_DOC "Build documentation" ON) 192c593315Sopenharmony_ci 202c593315Sopenharmony_cioption(WITH_LIBXML2 "Use libxml2" 212c593315Sopenharmony_ci ${WITH_LIBXML2_DEFAULT}) 222c593315Sopenharmony_cioption(WITH_JEMALLOC "Use jemalloc" 232c593315Sopenharmony_ci ${WITH_JEMALLOC_DEFAULT}) 242c593315Sopenharmony_cioption(WITH_MRUBY "Use mruby") 252c593315Sopenharmony_cioption(WITH_NEVERBLEED "Use neverbleed") 262c593315Sopenharmony_cioption(WITH_LIBBPF "Use libbpf") 272c593315Sopenharmony_ci 282c593315Sopenharmony_ci# vim: ft=cmake: 29