Network: Added an executable to host an dedicated room for local wifi
This commit is contained in:
20
src/dedicated_room/CMakeLists.txt
Normal file
20
src/dedicated_room/CMakeLists.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules)
|
||||
|
||||
set(SRCS
|
||||
citra-room.cpp
|
||||
citra-room.rc
|
||||
)
|
||||
|
||||
create_directory_groups(${SRCS})
|
||||
|
||||
add_executable(citra-room ${SRCS})
|
||||
target_link_libraries(citra-room PRIVATE common core network)
|
||||
target_link_libraries(citra-room PRIVATE glad)
|
||||
if (MSVC)
|
||||
target_link_libraries(citra-room PRIVATE getopt)
|
||||
endif()
|
||||
target_link_libraries(citra-room PRIVATE ${PLATFORM_LIBRARIES} SDL2 Threads::Threads)
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
install(TARGETS citra-room RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
|
||||
endif()
|
Reference in New Issue
Block a user