Premake: Add "--disable-base128" to disable Base-128 encoding for minidump uploads.
This commit is contained in:
parent
07aaf58f97
commit
41292eee95
11
premake5.lua
11
premake5.lua
@ -57,6 +57,10 @@ newoption {
|
|||||||
trigger = "disable-bitmessage",
|
trigger = "disable-bitmessage",
|
||||||
description = "Disable use of BitMessage completely."
|
description = "Disable use of BitMessage completely."
|
||||||
}
|
}
|
||||||
|
newoption {
|
||||||
|
trigger = "disable-base128",
|
||||||
|
description = "Disable debugging messages for Nodes in Debug builds."
|
||||||
|
}
|
||||||
|
|
||||||
newaction {
|
newaction {
|
||||||
trigger = "version",
|
trigger = "version",
|
||||||
@ -285,6 +289,9 @@ workspace "iw4x"
|
|||||||
"./src/Components/Modules/BitMessage.*",
|
"./src/Components/Modules/BitMessage.*",
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
if _OPTIONS["disable-base128"] then
|
||||||
|
defines { "DISABLE_BASE128" }
|
||||||
|
end
|
||||||
|
|
||||||
-- Pre-compiled header
|
-- Pre-compiled header
|
||||||
pchheader "STDInclude.hpp" -- must be exactly same as used in #include directives
|
pchheader "STDInclude.hpp" -- must be exactly same as used in #include directives
|
||||||
@ -295,7 +302,9 @@ workspace "iw4x"
|
|||||||
if not _OPTIONS["disable-bitmessage"] then
|
if not _OPTIONS["disable-bitmessage"] then
|
||||||
bitmrc.import()
|
bitmrc.import()
|
||||||
end
|
end
|
||||||
|
if not _OPTIONS["disable-base128"] then
|
||||||
base128.import()
|
base128.import()
|
||||||
|
end
|
||||||
fmt.import()
|
fmt.import()
|
||||||
json11.import()
|
json11.import()
|
||||||
libtomcrypt.import()
|
libtomcrypt.import()
|
||||||
@ -404,7 +413,9 @@ workspace "iw4x"
|
|||||||
libcryptopp.project()
|
libcryptopp.project()
|
||||||
sqlite3.project()
|
sqlite3.project()
|
||||||
end
|
end
|
||||||
|
if not _OPTIONS["disable-base128"] then
|
||||||
base128.project()
|
base128.project()
|
||||||
|
end
|
||||||
fmt.project()
|
fmt.project()
|
||||||
json11.project()
|
json11.project()
|
||||||
libtomcrypt.project()
|
libtomcrypt.project()
|
||||||
|
Loading…
Reference in New Issue
Block a user