diff options
| author | ruki <[email protected]> | 2025-09-06 19:58:47 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-09-06 19:58:47 +0800 |
| commit | e515d5bcc23ee9b8dda615540a77fd291c2b52ee (patch) | |
| tree | b2d7fcc1553fd244f1ddb1545e34aa80c6385fea /xmake/core/project/policy.lua | |
| parent | 31d2273f44022b19870f2a0f05f644ffd56bb6b5 (diff) | |
add build.linker.output
Diffstat (limited to 'xmake/core/project/policy.lua')
| -rw-r--r-- | xmake/core/project/policy.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/project/policy.lua b/xmake/core/project/policy.lua index 8b991553f..5c5e376a8 100644 --- a/xmake/core/project/policy.lua +++ b/xmake/core/project/policy.lua @@ -106,6 +106,9 @@ function policy.policies() ["build.c++.msvc.runtime"] = {description = "Set the default vs runtime.", type = "string", values = {"MT", "MD"}}, -- Enable cuda device link ["build.cuda.devlink"] = {description = "Enable Cuda devlink.", type = "boolean"}, + -- Enable linker output, e.g. show -Wl,--print-memory-usage output for gcc/g++ + -- @see https://github.com/xmake-io/xmake/discussions/6772 + ["build.linker.output"] = {description = "Enable linker output.", type = "boolean"}, -- Enable build jobgraph ["build.jobgraph"] = {description = "Enable build jobgraph.", default = true, type = "boolean"}, -- Enable windows UAC and set level, e.g. invoker, admin, highest |
