build: change to xmake mgr.

This commit is contained in:
2025-07-05 23:26:12 +08:00
parent 1bf98cd0f7
commit a65764dd5b
27 changed files with 220 additions and 424 deletions

18
Test/xmake.lua Normal file
View File

@@ -0,0 +1,18 @@
add_rules("mode.debug", "mode.release")
target("frelayTest")
set_rules("qt.console")
add_files("msgTest.cpp", "msgTest.h", "protocolTest.cpp")
add_files("infoTest.cpp", "infoTest.h")
add_deps("ClientCore")
add_deps("Protocol")
add_deps("Util")
add_frameworks("QtNetwork")
target("frelayBaseTest")
set_rules("qt.console")
add_files("BaseTest.cpp")
add_deps("ClientCore")
add_deps("Protocol")
add_deps("Util")
add_frameworks("QtNetwork")