summaryrefslogtreecommitdiff
path: root/xmake/plugins
diff options
context:
space:
mode:
authorruki <[email protected]>2021-05-04 00:16:39 +0800
committerruki <[email protected]>2021-05-04 00:16:39 +0800
commit9fcc366603c2572eb2710b843d240b0368f32ad5 (patch)
tree6d1744e4fb9ac768d32de7f52d5c02ce790efc5d /xmake/plugins
parentba285402bd1f5fed3eedc5a507ec98a232de8c27 (diff)
enable profiler
Diffstat (limited to 'xmake/plugins')
-rw-r--r--xmake/plugins/show/lists/envs.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/plugins/show/lists/envs.lua b/xmake/plugins/show/lists/envs.lua
index f0ce9030a..4092901fa 100644
--- a/xmake/plugins/show/lists/envs.lua
+++ b/xmake/plugins/show/lists/envs.lua
@@ -36,6 +36,7 @@ function main()
XMAKE_RAMDIR = {"Set the ramdisk directory.", os.getenv("XMAKE_RAMDIR")},
XMAKE_RCFILES = {"Set the runtime configuration files.", path.joinenv(project.rcfiles())},
XMAKE_TMPDIR = {"Set the temporary directory.", os.tmpdir()},
+ XMAKE_PROFILE = {"Start profiler, e.g. perf, trace.", os.getenv("XMAKE_PROFILE")},
XMAKE_PKG_CACHEDIR = {"Set the cache directory of packages.", os.getenv("XMAKE_PKG_CACHEDIR")},
XMAKE_PKG_INSTALLDIR = {"Set the install directory of packages.", os.getenv("XMAKE_PACKAGEDIR")}}
local width = 24