mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-24 19:29:47 +01:00
Cleanup docs
This commit is contained in:
16
doc/api.md
16
doc/api.md
@@ -742,10 +742,10 @@ configuring CMake.
|
|||||||
the cost of per-call overhead. Default: `1`.
|
the cost of per-call overhead. Default: `1`.
|
||||||
|
|
||||||
- **`FMT_OPTIMIZE_SIZE`**: Controls binary size optimizations:
|
- **`FMT_OPTIMIZE_SIZE`**: Controls binary size optimizations:
|
||||||
- `0` - off (default)
|
- `0` - off (default)
|
||||||
- `1` - disables locale support and applies some optimizations
|
- `1` - disables locale support and applies some optimizations
|
||||||
- `2` - disables some Unicode features, named arguments and applies more
|
- `2` - disables some Unicode features, named arguments and applies more
|
||||||
aggresive optimizations
|
aggresive optimizations
|
||||||
|
|
||||||
### Binary Size Optimization
|
### Binary Size Optimization
|
||||||
|
|
||||||
@@ -753,8 +753,8 @@ To minimize the binary footprint of {fmt} as much as possible at the cost of
|
|||||||
some features, you can use the following configuration:
|
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_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