mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-24 19:29:47 +01:00
Update docs
This commit is contained in:
@@ -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`
|
||||||
|
|||||||
Reference in New Issue
Block a user