yuzu_room: Remove dependency on core
This commit is contained in:
		| @@ -2,8 +2,6 @@ | ||||
| # SPDX-License-Identifier: GPL-2.0-or-later | ||||
|  | ||||
| add_library(core STATIC | ||||
|     announce_multiplayer_session.cpp | ||||
|     announce_multiplayer_session.h | ||||
|     arm/arm_interface.h | ||||
|     arm/arm_interface.cpp | ||||
|     arm/dynarmic/arm_dynarmic_32.cpp | ||||
|   | ||||
| @@ -10,7 +10,7 @@ add_executable(yuzu-room | ||||
|  | ||||
| create_target_directory_groups(yuzu-room) | ||||
|  | ||||
| target_link_libraries(yuzu-room PRIVATE common core network) | ||||
| target_link_libraries(yuzu-room PRIVATE common network) | ||||
| if (ENABLE_WEB_SERVICE) | ||||
|     target_compile_definitions(yuzu-room PRIVATE -DENABLE_WEB_SERVICE) | ||||
|     target_link_libraries(yuzu-room PRIVATE web_service) | ||||
|   | ||||
| @@ -27,8 +27,8 @@ | ||||
| #include "common/scm_rev.h" | ||||
| #include "common/settings.h" | ||||
| #include "common/string_util.h" | ||||
| #include "core/announce_multiplayer_session.h" | ||||
| #include "core/core.h" | ||||
| #include "network/announce_multiplayer_session.h" | ||||
| #include "network/network.h" | ||||
| #include "network/room.h" | ||||
| #include "network/verify_user.h" | ||||
|   | ||||
| @@ -2,6 +2,8 @@ | ||||
| # SPDX-License-Identifier: GPL-3.0-or-later | ||||
|  | ||||
| add_library(network STATIC | ||||
|     announce_multiplayer_session.cpp | ||||
|     announce_multiplayer_session.h | ||||
|     network.cpp | ||||
|     network.h | ||||
|     packet.cpp | ||||
| @@ -17,3 +19,7 @@ add_library(network STATIC | ||||
| create_target_directory_groups(network) | ||||
|  | ||||
| target_link_libraries(network PRIVATE common enet Boost::boost) | ||||
| if (ENABLE_WEB_SERVICE) | ||||
|     target_compile_definitions(network PRIVATE -DENABLE_WEB_SERVICE) | ||||
|     target_link_libraries(network PRIVATE web_service) | ||||
| endif() | ||||
|   | ||||
| @@ -16,7 +16,7 @@ | ||||
| #include <QUrl> | ||||
| #include <QtConcurrent/QtConcurrentRun> | ||||
| #include "common/logging/log.h" | ||||
| #include "core/announce_multiplayer_session.h" | ||||
| #include "network/announce_multiplayer_session.h" | ||||
| #include "ui_chat_room.h" | ||||
| #include "yuzu/game_list_p.h" | ||||
| #include "yuzu/multiplayer/chat_room.h" | ||||
|   | ||||
| @@ -10,7 +10,7 @@ | ||||
| #include <QTime> | ||||
| #include <QtConcurrent/QtConcurrentRun> | ||||
| #include "common/logging/log.h" | ||||
| #include "core/announce_multiplayer_session.h" | ||||
| #include "network/announce_multiplayer_session.h" | ||||
| #include "ui_client_room.h" | ||||
| #include "yuzu/game_list_p.h" | ||||
| #include "yuzu/multiplayer/client_room.h" | ||||
|   | ||||
| @@ -12,7 +12,7 @@ | ||||
| #include <QtConcurrent/QtConcurrentRun> | ||||
| #include "common/logging/log.h" | ||||
| #include "common/settings.h" | ||||
| #include "core/announce_multiplayer_session.h" | ||||
| #include "network/announce_multiplayer_session.h" | ||||
| #include "ui_host_room.h" | ||||
| #include "yuzu/game_list_p.h" | ||||
| #include "yuzu/main.h" | ||||
|   | ||||
| @@ -9,7 +9,7 @@ | ||||
| #include <QSortFilterProxyModel> | ||||
| #include <QStandardItemModel> | ||||
| #include "common/announce_multiplayer_room.h" | ||||
| #include "core/announce_multiplayer_session.h" | ||||
| #include "network/announce_multiplayer_session.h" | ||||
| #include "network/network.h" | ||||
| #include "yuzu/multiplayer/validation.h" | ||||
|  | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
| #pragma once | ||||
|  | ||||
| #include <QWidget> | ||||
| #include "core/announce_multiplayer_session.h" | ||||
| #include "network/announce_multiplayer_session.h" | ||||
| #include "network/network.h" | ||||
|  | ||||
| class QStandardItemModel; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user