summaryrefslogtreecommitdiff
path: root/src/web_service
diff options
context:
space:
mode:
Diffstat (limited to 'src/web_service')
-rw-r--r--src/web_service/CMakeLists.txt5
-rw-r--r--src/web_service/precompiled_headers.h12
2 files changed, 17 insertions, 0 deletions
diff --git a/src/web_service/CMakeLists.txt b/src/web_service/CMakeLists.txt
index 3f75d97d1..19534b9e4 100644
--- a/src/web_service/CMakeLists.txt
+++ b/src/web_service/CMakeLists.txt
@@ -4,6 +4,7 @@
4add_library(web_service STATIC 4add_library(web_service STATIC
5 announce_room_json.cpp 5 announce_room_json.cpp
6 announce_room_json.h 6 announce_room_json.h
7 precompiled_headers.h
7 telemetry_json.cpp 8 telemetry_json.cpp
8 telemetry_json.h 9 telemetry_json.h
9 verify_login.cpp 10 verify_login.cpp
@@ -17,3 +18,7 @@ add_library(web_service STATIC
17 18
18create_target_directory_groups(web_service) 19create_target_directory_groups(web_service)
19target_link_libraries(web_service PRIVATE common network nlohmann_json::nlohmann_json httplib cpp-jwt) 20target_link_libraries(web_service PRIVATE common network nlohmann_json::nlohmann_json httplib cpp-jwt)
21
22if (YUZU_USE_PRECOMPILED_HEADERS)
23 target_precompile_headers(web_service PRIVATE precompiled_headers.h)
24endif()
diff --git a/src/web_service/precompiled_headers.h b/src/web_service/precompiled_headers.h
new file mode 100644
index 000000000..5f81bef98
--- /dev/null
+++ b/src/web_service/precompiled_headers.h
@@ -0,0 +1,12 @@
1// SPDX-FileCopyrightText: 2022 yuzu Emulator Project
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#pragma once
5
6#include <algorithm>
7#include <chrono>
8#include <memory>
9
10#include <fmt/format.h>
11
12#include "common/assert.h"