aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/xmake.lua
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2024-12-05 12:44:27 +0100
committerGitHub Enterprise <[email protected]>2024-12-05 12:44:27 +0100
commit7ca7e683224918808a3a0dd8cd0a6953cc79cb4c (patch)
treea2d92895843e37292945e673642a338341f3a036 /src/zencore/xmake.lua
parentenable LTO / optimize for speed (#256) (diff)
downloadzen-7ca7e683224918808a3a0dd8cd0a6953cc79cb4c.tar.xz
zen-7ca7e683224918808a3a0dd8cd0a6953cc79cb4c.zip
Unity build fixes (#253)
some fixes to make everything build using unity build mode. Mostly moved code from anonymous namespaces into local impl namespace to avoid ambiguity in name resolution.
Diffstat (limited to 'src/zencore/xmake.lua')
-rw-r--r--src/zencore/xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zencore/xmake.lua b/src/zencore/xmake.lua
index 21b47b484..2efa3fdb8 100644
--- a/src/zencore/xmake.lua
+++ b/src/zencore/xmake.lua
@@ -13,6 +13,7 @@ target('zencore')
end)
set_configdir("include/zencore")
add_files("**.cpp")
+ add_files("trace.cpp", {unity_ignored = true })
if has_config("zenrpmalloc") then
set_languages("c17", "cxx20")