diff options
author | Maxim Biro <nurupo.contributions@gmail.com> | 2018-10-03 07:49:17 -0400 |
---|---|---|
committer | Maxim Biro <nurupo.contributions@gmail.com> | 2018-10-07 15:15:58 -0400 |
commit | f5afc526550d935585f4023142853eeb95115734 (patch) | |
tree | 5631d20eb74e06b57b752d9619d28cd552277b4b /INSTALL.md | |
parent | 11e1f63f54356aa6fcedea348a7be73aac81d051 (diff) |
Default to not defining MIN_LOGGER_LEVEL in CMake
That way CMake's behavior matches what autotools does -- letting
toxcore/logger.h handle the default case.
Diffstat (limited to 'INSTALL.md')
-rw-r--r-- | INSTALL.md | 29 |
1 files changed, 14 insertions, 15 deletions
@@ -81,20 +81,19 @@ There is some experimental accommodation for building natively on Windows, i.e. | |||
81 | 81 | ||
82 | There are some options that are available to configure the build. | 82 | There are some options that are available to configure the build. |
83 | 83 | ||
84 | | Name | Description | Expected Value | Default Value | | 84 | | Name | Description | Expected Value | Default Value | |
85 | |------------------------|-----------------------------------------------------------------------------------------------|--------------------------------------------|---------------------------------------------------| | 85 | |------------------------|-----------------------------------------------------------------------------------------------|---------------------------------------------------------------------------|---------------------------------------------------| |
86 | | `BOOTSTRAP_DAEMON` | Enable building of tox-bootstrapd, the DHT bootstrap node daemon. For Unix-like systems only. | ON or OFF | ON | | 86 | | `BOOTSTRAP_DAEMON` | Enable building of tox-bootstrapd, the DHT bootstrap node daemon. For Unix-like systems only. | ON or OFF | ON | |
87 | | `BUILD_AV_TEST` | Build toxav test. | ON or OFF | ON | | 87 | | `BUILD_AV_TEST` | Build toxav test. | ON or OFF | ON | |
88 | | `BUILD_TOXAV` | Whether to build the tox AV library. | ON or OFF | ON | | 88 | | `BUILD_TOXAV` | Whether to build the tox AV library. | ON or OFF | ON | |
89 | | `CMAKE_INSTALL_PREFIX` | Path to where everything should be installed. | Directory path. | Platform-dependent. Refer to CMake documentation. | | 89 | | `CMAKE_INSTALL_PREFIX` | Path to where everything should be installed. | Directory path. | Platform-dependent. Refer to CMake documentation. | |
90 | | `DEBUG` | Enable assertions and other debugging facilities. | ON or OFF | OFF | | 90 | | `DHT_BOOTSTRAP` | Enable building of `DHT_bootstrap` | ON or OFF | ON | |
91 | | `DHT_BOOTSTRAP` | Enable building of `DHT_bootstrap` | ON or OFF | ON | | 91 | | `ENABLE_SHARED` | Build shared (dynamic) libraries for all modules. | ON or OFF | ON | |
92 | | `ENABLE_SHARED` | Build shared (dynamic) libraries for all modules. | ON or OFF | ON | | 92 | | `ENABLE_STATIC` | Build static libraries for all modules. | ON or OFF | ON | |
93 | | `ENABLE_STATIC` | Build static libraries for all modules. | ON or OFF | ON | | 93 | | `MIN_LOGGER_LEVEL` | Logging level to use. | TRACE, DEBUG, INFO, WARNING, ERROR or nothing (empty string) for default. | Empty string. | |
94 | | `STRICT_ABI` | Enforce strict ABI export in dynamic libraries. | ON or OFF | OFF | | 94 | | `STRICT_ABI` | Enforce strict ABI export in dynamic libraries. | ON or OFF | OFF | |
95 | | `TEST_TIMEOUT_SECONDS` | Limit runtime of each test to the number of seconds specified. | Positive number or nothing (empty string). | Empty string. | | 95 | | `TEST_TIMEOUT_SECONDS` | Limit runtime of each test to the number of seconds specified. | Positive number or nothing (empty string). | Empty string. | |
96 | | `TRACE` | Enable TRACE level logging (expensive, for network debugging). | ON or OFF | OFF | | 96 | | `USE_IPV6` | Use IPv6 in tests. | ON or OFF | ON | |
97 | | `USE_IPV6` | Use IPv6 in tests. | ON or OFF | ON | | ||
98 | 97 | ||
99 | You can get this list of option using the following commands | 98 | You can get this list of option using the following commands |
100 | 99 | ||
@@ -110,7 +109,7 @@ Example of calling cmake with options | |||
110 | ```sh | 109 | ```sh |
111 | cmake \ | 110 | cmake \ |
112 | -D ENABLE_STATIC=OFF \ | 111 | -D ENABLE_STATIC=OFF \ |
113 | -D DEBUG=ON \ | 112 | -D MIN_LOGGER_LEVEL=DEBUG \ |
114 | -D CMAKE_INSTALL_PREFIX=/opt \ | 113 | -D CMAKE_INSTALL_PREFIX=/opt \ |
115 | -D TEST_TIMEOUT_SECONDS=120 \ | 114 | -D TEST_TIMEOUT_SECONDS=120 \ |
116 | .. | 115 | .. |