mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-07-01 02:27:52 -05:00
Merge pull request #9300 from ameerj/pch
CMake: Use precompiled headers to improve compile times
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user