CMakeOptions.txt 661 Bytes
Newer Older
Micah Snyder's avatar
Micah Snyder committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
# 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_APP        "Build applications (bzip2, and bzip2recover)"
    ${ENABLE_APP_DEFAULT})

option(ENABLE_DOCS       "Generate documentation"
    ${ENABLE_DOCS_DEFAULT})

option(ENABLE_EXAMPLES   "Build examples"
    ${ENABLE_EXAMPLES_DEFAULT})

option(ENABLE_LIB_ONLY   "Build libbz2 only.  This is a short hand for -DENABLE_APP=0 -DENABLE_EXAMPLES=0")

option(ENABLE_STATIC_LIB "Build libbz2 in static mode also")

option(ENABLE_SHARED_LIB "Build libbz2 as a shared library" ON)