summaryrefslogtreecommitdiffstats
path: root/src/dedicated_room/CMakeLists.txt
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2022-07-30 05:55:29 +0200
committerFearlessTobi <thm.frey@gmail.com>2022-08-15 20:25:41 +0200
commit9fc03d4b91e69ab4590d6e257b41810dcf36abf9 (patch)
tree4d752863b5293edbe8fe8a2869615f5c884fd9fd /src/dedicated_room/CMakeLists.txt
parentMerge pull request #8104 from Docteh/them_icons (diff)
downloadyuzu-9fc03d4b91e69ab4590d6e257b41810dcf36abf9.tar
yuzu-9fc03d4b91e69ab4590d6e257b41810dcf36abf9.tar.gz
yuzu-9fc03d4b91e69ab4590d6e257b41810dcf36abf9.tar.bz2
yuzu-9fc03d4b91e69ab4590d6e257b41810dcf36abf9.tar.lz
yuzu-9fc03d4b91e69ab4590d6e257b41810dcf36abf9.tar.xz
yuzu-9fc03d4b91e69ab4590d6e257b41810dcf36abf9.tar.zst
yuzu-9fc03d4b91e69ab4590d6e257b41810dcf36abf9.zip
Diffstat (limited to 'src/dedicated_room/CMakeLists.txt')
-rw-r--r--src/dedicated_room/CMakeLists.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/dedicated_room/CMakeLists.txt b/src/dedicated_room/CMakeLists.txt
new file mode 100644
index 000000000..7a29bd015
--- /dev/null
+++ b/src/dedicated_room/CMakeLists.txt
@@ -0,0 +1,24 @@
+set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules)
+
+add_executable(yuzu-room
+ yuzu-room.cpp
+ yuzu-room.rc
+)
+
+create_target_directory_groups(yuzu-room)
+
+target_link_libraries(yuzu-room PRIVATE common core 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)
+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 RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
+endif()