diff options
Diffstat (limited to 'src/video_core')
| -rw-r--r-- | src/video_core/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | src/video_core/precompiled_headers.h | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index b03a30992..97609ded4 100644 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt | |||
| @@ -84,6 +84,7 @@ add_library(video_core STATIC | |||
| 84 | gpu_thread.h | 84 | gpu_thread.h |
| 85 | memory_manager.cpp | 85 | memory_manager.cpp |
| 86 | memory_manager.h | 86 | memory_manager.h |
| 87 | precompiled_headers.h | ||
| 87 | pte_kind.h | 88 | pte_kind.h |
| 88 | query_cache.h | 89 | query_cache.h |
| 89 | rasterizer_accelerated.cpp | 90 | rasterizer_accelerated.cpp |
| @@ -300,3 +301,7 @@ endif() | |||
| 300 | if (ARCHITECTURE_x86_64 OR ARCHITECTURE_arm64) | 301 | if (ARCHITECTURE_x86_64 OR ARCHITECTURE_arm64) |
| 301 | target_link_libraries(video_core PRIVATE dynarmic) | 302 | target_link_libraries(video_core PRIVATE dynarmic) |
| 302 | endif() | 303 | endif() |
| 304 | |||
| 305 | if (YUZU_USE_PRECOMPILED_HEADERS) | ||
| 306 | target_precompile_headers(video_core PRIVATE precompiled_headers.h) | ||
| 307 | endif() | ||
diff --git a/src/video_core/precompiled_headers.h b/src/video_core/precompiled_headers.h new file mode 100644 index 000000000..aabae730b --- /dev/null +++ b/src/video_core/precompiled_headers.h | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | // SPDX-FileCopyrightText: 2022 yuzu Emulator Project | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | #include "common/common_precompiled_headers.h" | ||