diff options
Diffstat (limited to 'src/network')
| -rw-r--r-- | src/network/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | src/network/precompiled_headers.h | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/network/CMakeLists.txt b/src/network/CMakeLists.txt index 6f8ca4b90..c85c308de 100644 --- a/src/network/CMakeLists.txt +++ b/src/network/CMakeLists.txt | |||
| @@ -8,6 +8,7 @@ add_library(network STATIC | |||
| 8 | network.h | 8 | network.h |
| 9 | packet.cpp | 9 | packet.cpp |
| 10 | packet.h | 10 | packet.h |
| 11 | precompiled_headers.h | ||
| 11 | room.cpp | 12 | room.cpp |
| 12 | room.h | 13 | room.h |
| 13 | room_member.cpp | 14 | room_member.cpp |
| @@ -23,3 +24,7 @@ if (ENABLE_WEB_SERVICE) | |||
| 23 | target_compile_definitions(network PRIVATE -DENABLE_WEB_SERVICE) | 24 | target_compile_definitions(network PRIVATE -DENABLE_WEB_SERVICE) |
| 24 | target_link_libraries(network PRIVATE web_service) | 25 | target_link_libraries(network PRIVATE web_service) |
| 25 | endif() | 26 | endif() |
| 27 | |||
| 28 | if (YUZU_USE_PRECOMPILED_HEADERS) | ||
| 29 | target_precompile_headers(network PRIVATE precompiled_headers.h) | ||
| 30 | endif() | ||
diff --git a/src/network/precompiled_headers.h b/src/network/precompiled_headers.h new file mode 100644 index 000000000..aabae730b --- /dev/null +++ b/src/network/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" | ||