-- Copyright Epic Games, Inc. All Rights Reserved. target("zen") set_kind("binary") add_headerfiles("**.h") add_files("**.cpp") add_files("zen.cpp", {unity_ignored = true }) add_deps("zencore", "zenhttp", "zenremotestore", "zenstore", "zenutil") add_deps("zencompute", "zennet", "zentelemetry") add_deps("cxxopts", "fmt") add_packages("json11") add_includedirs(".") set_symbols("debug") if is_plat("windows") then add_files("zen.rc") add_ldflags("/subsystem:console,5.02", {force = true}) if not (get_config("toolchain") or ""):find("clang") then add_ldflags("/LTCG") end end if is_plat("macosx") then add_ldflags("-framework CoreFoundation") add_ldflags("-framework Foundation") add_ldflags("-framework Security") add_ldflags("-framework SystemConfiguration") end