Port yuzu-emu/yuzu#9300: "CMake: Use precompiled headers to improve compile times" (#6213)
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
This commit is contained in:
parent
51e252c7ed
commit
ccb50e7f2c
25 changed files with 173 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
|||
add_library(web_service STATIC
|
||||
announce_room_json.cpp
|
||||
announce_room_json.h
|
||||
precompiled_headers.h
|
||||
telemetry_json.cpp
|
||||
telemetry_json.h
|
||||
verify_login.cpp
|
||||
|
@ -22,3 +23,7 @@ if (ANDROID)
|
|||
elseif(WIN32)
|
||||
target_link_libraries(web_service PRIVATE crypt32)
|
||||
endif()
|
||||
|
||||
if (CITRA_USE_PRECOMPILED_HEADERS)
|
||||
target_precompile_headers(web_service PRIVATE precompiled_headers.h)
|
||||
endif()
|
||||
|
|
7
src/web_service/precompiled_headers.h
Normal file
7
src/web_service/precompiled_headers.h
Normal file
|
@ -0,0 +1,7 @@
|
|||
// Copyright 2022 Citra Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/common_precompiled_headers.h"
|
Loading…
Add table
Add a link
Reference in a new issue