Update docs

This commit is contained in:
Victor Zverovich
2025-10-12 10:42:12 -07:00
parent 491dc16a6d
commit 81fe170849

View File

@@ -724,8 +724,9 @@ configuring CMake.
### Macros ### Macros
- **`FMT_HEADER_ONLY`**: Enables the header-only mode when set to `1` as an - **`FMT_HEADER_ONLY`**: Enables the header-only mode when defined. Defining
alternative to using the `fmt::fmt-header-only` CMake target. Default: `0`. this macro is an alternative to using the `fmt::fmt-header-only` CMake target.
Default: not defined.
- **`FMT_USE_EXCEPTIONS`**: Disables the use of exceptions when set to `0`. - **`FMT_USE_EXCEPTIONS`**: Disables the use of exceptions when set to `0`.
Default: `1` (`0` if compiled with `-fno-exceptions`). Default: `1` (`0` if compiled with `-fno-exceptions`).
@@ -755,6 +756,5 @@ some features, you can use the following configuration:
- CMake options: - CMake options:
- `FMT_OS=OFF` - `FMT_OS=OFF`
- Macros: - Macros:
- `FMT_USE_EXCEPTIONS=0`
- `FMT_BUILTIN_TYPES=0` - `FMT_BUILTIN_TYPES=0`
- `FMT_OPTIMIZE_SIZE=2` - `FMT_OPTIMIZE_SIZE=2`