2022-07-30 20:16:47 +02:00
|
|
|
# SPDX-FileCopyrightText: 2017 Citra Emulator Project
|
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
2022-07-30 05:55:29 +02:00
|
|
|
add_executable(yuzu-room
|
2022-11-23 00:38:23 +01:00
|
|
|
precompiled_headers.h
|
2022-08-13 20:11:01 +02:00
|
|
|
yuzu_room.cpp
|
|
|
|
yuzu_room.rc
|
2022-07-30 05:55:29 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
create_target_directory_groups(yuzu-room)
|
|
|
|
|
2022-08-16 23:13:05 +02:00
|
|
|
target_link_libraries(yuzu-room PRIVATE common network)
|
2022-07-30 05:55:29 +02:00
|
|
|
if (ENABLE_WEB_SERVICE)
|
|
|
|
target_compile_definitions(yuzu-room PRIVATE -DENABLE_WEB_SERVICE)
|
|
|
|
target_link_libraries(yuzu-room PRIVATE web_service)
|
|
|
|
endif()
|
|
|
|
|
2022-09-08 14:34:36 +02:00
|
|
|
target_link_libraries(yuzu-room PRIVATE mbedtls mbedcrypto)
|
2022-07-30 05:55:29 +02:00
|
|
|
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)
|
2022-09-22 21:51:56 +02:00
|
|
|
install(TARGETS yuzu-room)
|
2022-07-30 05:55:29 +02:00
|
|
|
endif()
|
2022-11-23 00:38:23 +01:00
|
|
|
|
|
|
|
if (YUZU_USE_PRECOMPILED_HEADERS)
|
|
|
|
target_precompile_headers(yuzu-room PRIVATE precompiled_headers.h)
|
|
|
|
endif()
|