Merge pull request #9300 from ameerj/pch

CMake: Use precompiled headers to improve compile times
This commit is contained in:
liamwhite
2022-12-03 14:10:06 -05:00
committed by GitHub
30 changed files with 174 additions and 5 deletions

View File

@ -186,6 +186,7 @@ add_executable(yuzu
multiplayer/state.cpp
multiplayer/state.h
multiplayer/validation.h
precompiled_headers.h
startup_checks.cpp
startup_checks.h
uisettings.cpp
@ -409,3 +410,7 @@ endif()
if (ARCHITECTURE_x86_64 OR ARCHITECTURE_arm64)
target_link_libraries(yuzu PRIVATE dynarmic)
endif()
if (YUZU_USE_PRECOMPILED_HEADERS)
target_precompile_headers(yuzu PRIVATE precompiled_headers.h)
endif()