mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-21 12:28:58 +02:00
also, fixes CI not targeting the right flag settings. this pr needs to add the room exe removal from lime3ds. Signed-off-by: Aleksandr Popovich <alekpopo@pm.me> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/106 Co-authored-by: Aleksandr Popovich <alekpopo@pm.me> Co-committed-by: Aleksandr Popovich <alekpopo@pm.me>
34 lines
970 B
CMake
34 lines
970 B
CMake
# SPDX-FileCopyrightText: 2017 Citra Emulator Project
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# SPDX-FileCopyrightText: 2025 eden Emulator Project
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
add_library(yuzu-room STATIC EXCLUDE_FROM_ALL
|
|
precompiled_headers.h
|
|
yuzu_room.cpp
|
|
yuzu_room.h
|
|
yuzu_room.rc
|
|
)
|
|
|
|
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)
|
|
endif()
|
|
|
|
target_link_libraries(yuzu-room PRIVATE mbedtls mbedcrypto)
|
|
if (MSVC)
|
|
target_link_libraries(yuzu-room PRIVATE getopt)
|
|
endif()
|
|
target_link_libraries(yuzu-room PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
|
|
|
|
if(UNIX AND NOT APPLE)
|
|
install(TARGETS yuzu-room)
|
|
endif()
|
|
|
|
if (YUZU_USE_PRECOMPILED_HEADERS)
|
|
target_precompile_headers(yuzu-room PRIVATE precompiled_headers.h)
|
|
endif()
|
|
|
|
create_target_directory_groups(yuzu-room)
|