add_rules("mode.debug", "mode.release") set_languages("c++17") if is_plat("windows") then add_cxxflags("/source-charset:utf-8") end if is_plat("mingw") then add_cxxflags("-Wno-unused-variable -finput-charset=utf-8 -fexec-charset=gbk") end add_includedirs("$(projectdir)/3rd", {public = true}) add_includedirs("$(projectdir)/build", {public = true}) includes("util", "ofen", "net", "server", "client", "filecomplete") add_configfiles("config.h.in", {filename = "version.h"})