mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-25 08:27:48 +00:00
CMake: Use precompiled headers
This commit is contained in:
parent
28db650fd6
commit
bbf3e7f313
26 changed files with 216 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
12
src/yuzu/precompiled_headers.h
Normal file
12
src/yuzu/precompiled_headers.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// SPDX-FileCopyrightText: 2022 yuzu Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <algorithm>
|
||||
#include <chrono>
|
||||
#include <memory>
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "common/assert.h"
|
||||
Loading…
Add table
Add a link
Reference in a new issue