2017-12-11 00:55:03 +01:00
|
|
|
add_library(network STATIC
|
2020-08-20 21:54:01 +02:00
|
|
|
announce_multiplayer_session.cpp
|
|
|
|
announce_multiplayer_session.h
|
2017-12-11 00:55:03 +01:00
|
|
|
network.cpp
|
|
|
|
network.h
|
2020-08-20 09:46:35 +02:00
|
|
|
network_settings.cpp
|
|
|
|
network_settings.h
|
2017-12-11 00:55:03 +01:00
|
|
|
packet.cpp
|
|
|
|
packet.h
|
2022-12-17 16:06:38 +01:00
|
|
|
precompiled_headers.h
|
2017-12-11 00:55:03 +01:00
|
|
|
room.cpp
|
|
|
|
room.h
|
|
|
|
room_member.cpp
|
|
|
|
room_member.h
|
2018-10-27 09:35:01 +02:00
|
|
|
verify_user.cpp
|
|
|
|
verify_user.h
|
2017-12-11 00:55:03 +01:00
|
|
|
)
|
2017-07-07 21:34:15 +02:00
|
|
|
|
2017-12-11 00:55:03 +01:00
|
|
|
create_target_directory_groups(network)
|
2017-07-07 21:34:15 +02:00
|
|
|
|
2021-08-20 13:46:35 +02:00
|
|
|
if (ENABLE_WEB_SERVICE)
|
2023-08-06 21:23:53 +02:00
|
|
|
target_link_libraries(network PRIVATE web_service)
|
2021-08-20 13:46:35 +02:00
|
|
|
endif()
|
|
|
|
|
2023-08-06 21:23:53 +02:00
|
|
|
target_link_libraries(network PRIVATE citra_common enet Boost::serialization httplib)
|
2022-12-17 16:06:38 +01:00
|
|
|
|
|
|
|
if (CITRA_USE_PRECOMPILED_HEADERS)
|
|
|
|
target_precompile_headers(network PRIVATE precompiled_headers.h)
|
|
|
|
endif()
|