Files
frelay/Console/xmake.lua

23 lines
505 B
Lua
Raw Normal View History

2025-07-05 23:26:12 +08:00
add_rules("mode.debug", "mode.release")
target("frelayConsole")
set_rules("qt.console")
add_files("Console.cpp", "Console.h", "main.cpp")
add_deps("ClientCore")
add_deps("Protocol")
add_deps("Util")
add_frameworks("QtNetwork")
2025-07-06 13:32:03 +08:00
if is_plat("windows") then
add_files("../Res/ico.rc")
end
2025-07-05 23:26:12 +08:00
if is_plat("mingw") then
2025-07-06 13:32:03 +08:00
add_files("../Res/ico.rc")
2025-07-05 23:26:12 +08:00
else
add_deps("crashelper")
2025-07-06 13:32:03 +08:00
end
if is_plat("linux") then
add_links("dl")
2025-07-05 23:26:12 +08:00
end