aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/xmake.lua
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2025-03-12 13:54:16 +0100
committerGitHub Enterprise <[email protected]>2025-03-12 13:54:16 +0100
commit7046fc9dc202307ba92d05a6386bfb52e9db0ab9 (patch)
treeecd3db4fd57fecc88bb5e9702e4d91a6e8e16027 /src/zencore/xmake.lua
parent5.6.1-pre0 (diff)
downloadzen-7046fc9dc202307ba92d05a6386bfb52e9db0ab9.tar.xz
zen-7046fc9dc202307ba92d05a6386bfb52e9db0ab9.zip
fixes for log timestamps (#304)
* add GetTimeSinceProcessStart returning time since process start. implemented using https://github.com/maxliani/GetTimeSinceProcessStart/tree/main * fix fractions when using epoch mode. Previously it would show the fraction from the absolute time stamp and not relative to epoch * used GetTimeSinceProcessStart to offset the epoch so that it represents the process spawn time
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 b8b14084c..13611a2e9 100644
--- a/src/zencore/xmake.lua
+++ b/src/zencore/xmake.lua
@@ -29,6 +29,7 @@ target('zencore')
end
add_includedirs("include", {public=true})
+ add_includedirs("$(projectdir)/thirdparty/GetTimeSinceProcessStart")
add_includedirs("$(projectdir)/thirdparty/utfcpp/source")
add_includedirs("$(projectdir)/thirdparty/Oodle/include")
add_includedirs("$(projectdir)/thirdparty/trace", {public=true})