mirror of
https://gitlab.com/bzip2/bzip2.git
synced 2025-09-20 17:02:05 +03:00
You can now build with `cmake . -D USE_OLD_SONAME=ON` to have CMake patch the shared library to use the old SONAME for binary compatibility with old libbz2 1.0.x installs.
23 lines
746 B
Plaintext
23 lines
746 B
Plaintext
# 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)
|
|
|
|
option(USE_OLD_SONAME "Use libbz2.so.1.0 for compatibility with old Makefiles" OFF)
|