mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-27 20:40:20 +01:00
dedicated_room: Initial implementation
This commit is contained in:
parent
e97cffd2c1
commit
3613aa8624
4 changed files with 418 additions and 0 deletions
24
src/dedicated_room/CMakeLists.txt
Normal file
24
src/dedicated_room/CMakeLists.txt
Normal file
|
|
@ -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()
|
||||
Loading…
Add table
Add a link
Reference in a new issue