summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Esser <besser82@fedoraproject.org>2020-05-18 12:39:38 +0200
committerBjörn Esser <besser82@fedoraproject.org>2020-05-18 12:41:18 +0200
commita85d2395fff0c806fe86f0446fb9ff1bbf2cb8e5 (patch)
tree38ae52c75f383e4a051945f3663a62158292181e
parent76dd99abb24780d1f2a770d2534829aa76798492 (diff)
downloadjson-c-a85d2395fff0c806fe86f0446fb9ff1bbf2cb8e5.tar.gz
README: Update configuration options for CMake.
-rw-r--r--README.md21
1 files changed, 11 insertions, 10 deletions
diff --git a/README.md b/README.md
index f5a7ee3..5cabd9d 100644
--- a/README.md
+++ b/README.md
@@ -93,16 +93,17 @@ CMake Options <a name="CMake"></a>
The json-c library is built with [CMake](https://cmake.org/cmake-tutorial/),
which can take a few options.
-Variable | Type | Description
----------------------|--------|--------------
-CMAKE_INSTALL_PREFIX | String | The install location.
-CMAKE_BUILD_TYPE | String | Defaults to "debug"
-BUILD_SHARED_LIBS | Bool | The default build generates a dynamic (dll/so) library. Set this to OFF to create a static library only.
-BUILD_STATIC_LIBS | Bool | The default build generates a static (lib/a) library. Set this to OFF to create a shared library only.
-ENABLE_RDRAND | Bool | Enable RDRAND Hardware RNG Hash Seed
-ENABLE_THREADING | Bool | Enable partial threading support
-DISABLE_WERROR | Bool | Disable use of -Werror
-DISABLE_BSYMBOLIC | Bool | Disable use of -Bsymbolic-functions
+Variable | Type | Description
+-----------------------------|--------|--------------
+CMAKE_INSTALL_PREFIX | String | The install location.
+CMAKE_BUILD_TYPE | String | Defaults to "debug".
+BUILD_SHARED_LIBS | Bool | The default build generates a dynamic (dll/so) library. Set this to OFF to create a static library only.
+BUILD_STATIC_LIBS | Bool | The default build generates a static (lib/a) library. Set this to OFF to create a shared library only.
+DISABLE_BSYMBOLIC | Bool | Disable use of -Bsymbolic-functions.
+DISABLE_THREAD_LOCAL_STORAGE | Bool | Disable use of Thread-Local Storage (HAVE___THREAD).
+DISABLE_WERROR | Bool | Disable use of -Werror.
+ENABLE_RDRAND | Bool | Enable RDRAND Hardware RNG Hash Seed.
+ENABLE_THREADING | Bool | Enable partial threading support.
Pass these options as `-D` on CMake's command-line.