forked from eden-emu/eden
Uses an FFmpeg CI for Android and Windows, also available for Linux. Saves compile time on Linux and is more consistent on Windows/Android. Also, updates VVL and FFmpeg to allow for a fully 16kb-compliant Android build. Bonus: APK size is down 30% Updated all localization files for Transifex while I was at it TODO for future: Android 8.0 with vp9_vulkan et al. Reviewed-on: eden-emu/eden#2543 Reviewed-by: Maufeat <sahyno1996@gmail.com> Reviewed-by: Lizzie <lizzie@eden-emu.dev>
38 lines
1,016 B
CMake
38 lines
1,016 B
CMake
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
# SPDX-FileCopyrightText: 2022 yuzu Emulator Project
|
|
# 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
|
|
packet.h
|
|
precompiled_headers.h
|
|
room.cpp
|
|
room.h
|
|
room_member.cpp
|
|
room_member.h
|
|
verify_user.cpp
|
|
verify_user.h
|
|
)
|
|
|
|
create_target_directory_groups(network)
|
|
|
|
target_link_libraries(network PRIVATE common enet::enet Boost::headers)
|
|
if (ENABLE_WEB_SERVICE)
|
|
target_compile_definitions(network PRIVATE ENABLE_WEB_SERVICE)
|
|
target_link_libraries(network PRIVATE web_service)
|
|
endif()
|
|
|
|
# Solaris uses /lib/amd64/libsocket.so and /lib/amd64/libnsl.so
|
|
if (PLATFORM_SUN)
|
|
target_link_libraries(network PRIVATE socket nsl)
|
|
endif()
|
|
|
|
if (YUZU_USE_PRECOMPILED_HEADERS)
|
|
target_precompile_headers(network PRIVATE precompiled_headers.h)
|
|
endif()
|