File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -2018,23 +2018,29 @@ <h3 id="macros">Macros</h3>
20182018</ li >
20192019< li >
20202020< p > < strong > < code > FMT_OPTIMIZE_SIZE</ code > </ strong > : Controls binary size optimizations:</ p >
2021- </ li >
2021+ < ul >
20222022< li > < code > 0</ code > - off (default)</ li >
20232023< li > < code > 1</ code > - disables locale support and applies some optimizations</ li >
20242024< li > < code > 2</ code > - disables some Unicode features, named arguments and applies more
2025- aggresive optimizations</ li >
2025+ aggresive optimizations</ li >
2026+ </ ul >
2027+ </ li >
20262028</ ul >
20272029< h3 id ="binary-size-optimization "> Binary Size Optimization</ h3 >
20282030< p > To minimize the binary footprint of {fmt} as much as possible at the cost of
20292031some features, you can use the following configuration:</ p >
20302032< ul >
2031- < li > CMake options:</ li >
2033+ < li > CMake options:< ul >
20322034< li > < code > FMT_OS=OFF</ code > </ li >
2033- < li > Macros:</ li >
2035+ </ ul >
2036+ </ li >
2037+ < li > Macros:< ul >
20342038< li > < code > FMT_USE_EXCEPTIONS=0</ code > </ li >
20352039< li > < code > FMT_BUILTIN_TYPES=0</ code > </ li >
20362040< li > < code > FMT_OPTIMIZE_SIZE=2</ code > </ li >
20372041</ ul >
2042+ </ li >
2043+ </ ul >
20382044
20392045
20402046
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments