aboutsummaryrefslogtreecommitdiff
path: root/src/zennet-test/xmake.lua
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-10-25 12:21:51 +0200
committerGitHub <[email protected]>2023-10-25 12:21:51 +0200
commit0b220255724020daea18ddb559f5edf3fdb1621b (patch)
tree7809227752c15d90111c4e600d80b59d90ad25d2 /src/zennet-test/xmake.lua
parentNew rotating file logger that keeps on running regardless of errors (#495) (diff)
downloadzen-0b220255724020daea18ddb559f5edf3fdb1621b.tar.xz
zen-0b220255724020daea18ddb559f5edf3fdb1621b.zip
statsd metrics reporting (#496)
added support for reporting metrics via statsd style UDP messaging, which is supported by many monitoring solution providers this change adds reporting only of three cache related metrics (hit/miss/put) but this should be extended to include more metrics after additional evaluation
Diffstat (limited to 'src/zennet-test/xmake.lua')
-rw-r--r--src/zennet-test/xmake.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/zennet-test/xmake.lua b/src/zennet-test/xmake.lua
new file mode 100644
index 000000000..bbede7739
--- /dev/null
+++ b/src/zennet-test/xmake.lua
@@ -0,0 +1,17 @@
+-- Copyright Epic Games, Inc. All Rights Reserved.
+
+target("zennet-test")
+ set_kind("binary")
+ set_group("tests")
+ add_headerfiles("**.h")
+ add_files("*.cpp")
+ add_deps("zencore", "zenutil", "zennet")
+ add_packages("vcpkg::mimalloc")
+ add_packages("vcpkg::catch2")
+ add_packages("vcpkg::doctest")
+
+ if is_plat("macosx") then
+ add_ldflags("-framework CoreFoundation")
+ add_ldflags("-framework Security")
+ add_ldflags("-framework SystemConfiguration")
+ end