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_ASIO_LIB "Build C++ libnghttp2_asio library") 11option(ENABLE_EXAMPLES "Build examples" 12 ${ENABLE_EXAMPLES_DEFAULT}) 13option(ENABLE_PYTHON_BINDINGS "Build Python bindings" 14 ${ENABLE_PYTHON_BINDINGS_DEFAULT}) 15option(ENABLE_FAILMALLOC "Build failmalloc test program" ON) 16option(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") 17option(ENABLE_STATIC_LIB "Build libnghttp2 in static mode also") 18option(ENABLE_SHARED_LIB "Build libnghttp2 as a shared library" ON) 19option(ENABLE_STATIC_CRT "Build libnghttp2 against the MS LIBCMT[d]") 20 21option(WITH_LIBXML2 "Use libxml2" 22 ${WITH_LIBXML2_DEFAULT}) 23option(WITH_JEMALLOC "Use jemalloc" 24 ${WITH_JEMALLOC_DEFAULT}) 25option(WITH_SPDYLAY "Use spdylay" 26 ${WITH_SPDYLAY_DEFAULT}) 27option(WITH_MRUBY "Use mruby") 28option(WITH_NEVERBLEED "Use neverbleed") 29 30# vim: ft=cmake: 31