common: try precompiling some std headers

This commit is contained in:
Eric Wasylishen 2022-09-29 22:22:11 -06:00
parent d9d4ee99ad
commit 73713c8666
1 changed files with 13 additions and 0 deletions

View File

@ -39,3 +39,16 @@ add_library(common STATIC
)
target_link_libraries(common ${CMAKE_THREAD_LIBS_INIT} TBB::tbb TBB::tbbmalloc fmt::fmt nlohmann_json::nlohmann_json)
target_precompile_headers(common INTERFACE
<filesystem>
<array>
<list>
<vector>
<set>
<unordered_set>
<map>
<unordered_map>
<memory>
<variant>
)