Apply PIE to nghttpx
[platform/upstream/nghttp2.git] / CMakeOptions.txt
1 # Features that can be enabled for cmake (see CMakeLists.txt)
2
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)"
7   ${ENABLE_APP_DEFAULT})
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
21 option(WITH_LIBXML2     "Use libxml2"
22   ${WITH_LIBXML2_DEFAULT})
23 option(WITH_JEMALLOC    "Use jemalloc"
24   ${WITH_JEMALLOC_DEFAULT})
25 option(WITH_SPDYLAY     "Use spdylay"
26   ${WITH_SPDYLAY_DEFAULT})
27 option(WITH_MRUBY       "Use mruby")
28 option(WITH_NEVERBLEED  "Use neverbleed")
29
30 # vim: ft=cmake: