mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Implemented CustomEvent in code, which supports: - bool|int|float|string|vector|array|table - nested arrays and tables, up to a depth of 64 Also improved foundation code for LiveAPI: - added ability to log liveapi events to a file on the disk (rotates between each match or round, depending on how the abstracted functions are called in scripts) - when the system is enabled through cvars, code will be invoked on the fly - when the system is disabled through cvars, the system will be shutdown properly on the fly (properly handling socket closing, log file finishing, etc) - if the socket system is enabled/disabled on the fly using cvars, related code will be called to initiate or shutdown the connections. The generated proto.cpp/h file has been moved to the protoc project as it was causing some compiler warnings that we suppress on the thirdparty (vendored) code.
49 lines
877 B
CMake
49 lines
877 B
CMake
cmake_minimum_required( VERSION 3.16 )
|
|
add_module( "lib" "LiveAPI_Pb" "vpc" ${FOLDER_CONTEXT} FALSE TRUE )
|
|
|
|
start_sources()
|
|
|
|
add_sources( SOURCE_GROUP "Runtime"
|
|
"events.pb.cc"
|
|
"events.pb.h"
|
|
)
|
|
|
|
end_sources()
|
|
thirdparty_suppress_warnings()
|
|
|
|
add_module( "lib" "SigCache_Pb" "vpc" ${FOLDER_CONTEXT} FALSE TRUE )
|
|
|
|
start_sources()
|
|
|
|
add_sources( SOURCE_GROUP "Runtime"
|
|
"sig_map.pb.cc"
|
|
"sig_map.pb.h"
|
|
)
|
|
|
|
end_sources()
|
|
thirdparty_suppress_warnings()
|
|
|
|
add_module( "lib" "SV_RCon_Pb" "vpc" ${FOLDER_CONTEXT} FALSE TRUE )
|
|
|
|
start_sources()
|
|
|
|
add_sources( SOURCE_GROUP "Runtime"
|
|
"sv_rcon.pb.cc"
|
|
"sv_rcon.pb.h"
|
|
)
|
|
|
|
end_sources()
|
|
thirdparty_suppress_warnings()
|
|
|
|
add_module( "lib" "CL_RCon_Pb" "vpc" ${FOLDER_CONTEXT} FALSE TRUE )
|
|
|
|
start_sources()
|
|
|
|
add_sources( SOURCE_GROUP "Runtime"
|
|
"cl_rcon.pb.cc"
|
|
"cl_rcon.pb.h"
|
|
)
|
|
|
|
end_sources()
|
|
thirdparty_suppress_warnings()
|