blob: 4e65ef89066a9e69bcc47533ed9c4e27d3d5d840 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# SPDX-FileCopyrightText: 2017 Citra Emulator Project & 2025 Citron Homebrew Project
# SPDX-License-Identifier: GPL-2.0-or-later
add_executable(citron-room
precompiled_headers.h
citron_room.cpp
citron_room.rc
)
target_link_libraries(citron-room PRIVATE common network)
if (ENABLE_WEB_SERVICE)
target_compile_definitions(citron-room PRIVATE -DENABLE_WEB_SERVICE)
target_link_libraries(citron-room PRIVATE web_service)
endif()
target_link_libraries(citron-room PRIVATE mbedtls mbedcrypto)
if (MSVC)
target_link_libraries(citron-room PRIVATE getopt)
endif()
target_link_libraries(citron-room PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
if(UNIX AND NOT APPLE)
install(TARGETS citron-room)
endif()
if (CITRON_USE_PRECOMPILED_HEADERS)
target_precompile_headers(citron-room PRIVATE precompiled_headers.h)
endif()
create_target_directory_groups(citron-room)
|