use fmt as static library instead of headers

reportedly improves compile time
This commit is contained in:
Shawn Hoffman
2022-04-26 12:38:56 -07:00
parent 16c90329f3
commit 44951a4cbc
6 changed files with 60 additions and 1 deletions

View File

@ -55,7 +55,6 @@
<ExternalTemplatesDiagnostics>true</ExternalTemplatesDiagnostics>
<DisableAnalyzeExternal>true</DisableAnalyzeExternal>
<TreatAngleIncludeAsExternal>true</TreatAngleIncludeAsExternal>
<PreprocessorDefinitions>FMT_HEADER_ONLY=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<!--
It would be a good idea to disable _CRT_SECURE_NO_WARNINGS and get rid of e.g. C string parsing funcs
Unfortunately this also complains about FILE* APIs, which can be inconvenient to replace.