mirror of
https://github.com/PabloMK7/citra.git
synced 2025-10-11 03:50:04 +00:00
Network: Added an executable to host an dedicated room for local wifi
This commit is contained in:
parent
33a0e87ac2
commit
a40ef602a3
4 changed files with 261 additions and 0 deletions
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()
|
Loading…
Add table
Add a link
Reference in a new issue