CMake: Use precompiled headers

This commit is contained in:
ameerj
2022-11-22 18:38:23 -05:00
parent 5695ae6bdd
commit 37bc5118ea
26 changed files with 216 additions and 1 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
@ -405,3 +406,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()