aboutsummaryrefslogtreecommitdiff
path: root/zenserver/xmake.lua
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2021-12-15 14:05:15 +0100
committerGitHub <[email protected]>2021-12-15 14:05:15 +0100
commita7af402bd38b12364e00cf2de8227c7db0911d14 (patch)
tree9aca1e4d3ff9f881710564689cfc9e24396c6911 /zenserver/xmake.lua
parentInitialize CidStore to null. (diff)
downloadzen-a7af402bd38b12364e00cf2de8227c7db0911d14.tar.xz
zen-a7af402bd38b12364e00cf2de8227c7db0911d14.zip
Added preprocessing config file and removed Visual Studio files.
Diffstat (limited to 'zenserver/xmake.lua')
-rw-r--r--zenserver/xmake.lua14
1 files changed, 0 insertions, 14 deletions
diff --git a/zenserver/xmake.lua b/zenserver/xmake.lua
index e4a768f7b..339afbfe5 100644
--- a/zenserver/xmake.lua
+++ b/zenserver/xmake.lua
@@ -34,17 +34,3 @@ target("zenserver")
add_packages(
"vcpkg::cxxopts",
"vcpkg::mimalloc")
-
- on_load(function(target)
- local commit, err = os.iorun("git log -1 --format=\"%h-%cI\"")
- if commit ~= nil then
- commit = commit:gsub("%s+", "")
- commit = commit:gsub("\n", "")
- if is_mode("release") then
- commit = "rel-" .. commit
- else
- commit = "dbg-" .. commit
- end
- target:add("defines", "BUILD_VERSION=\"" .. commit .. "\"")
- end
- end)