aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-04-25 14:50:29 +0200
committerGitHub <[email protected]>2023-04-25 14:50:29 +0200
commit0d0697cbe19ed2ef385408f72d754cea99c7bc9a (patch)
tree9d05fec6bf2356b56fa432e3e97946adacfc9466 /xmake.lua
parent0.2.5 (diff)
downloadzen-0d0697cbe19ed2ef385408f72d754cea99c7bc9a.tar.xz
zen-0d0697cbe19ed2ef385408f72d754cea99c7bc9a.zip
fix sentry report callstack (#256)
* Include file, line and function in sentry log error messages * use sync direct error logger to get correct call stacks on error * changelog * use d1trimfile on windows to shorten file path on windows * constexpr -> consteval
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index cc9458bdd..db4ddb197 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -62,6 +62,7 @@ if is_os("windows") then
"WIN32_LEAN_AND_MEAN", -- cut down Windows.h
"_WIN32_WINNT=0x0A00"
)
+ add_cxxflags("/d1trimfile:$(curdir)\\")
-- add_ldflags("/MAP")
end