diff options
| author | ruki <[email protected]> | 2025-06-03 00:41:00 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-06-03 00:41:00 +0800 |
| commit | b975efbeb8091ee9e6ff10bd3a55a58cde80ff7c (patch) | |
| tree | ecda13a070a5038d69943a05f39343668173bc9b /xmake/core/project/policy.lua | |
| parent | 1df3b5ed4d4bec078a44ade91a8603ba375d0577 (diff) | |
add multiversion vsxmake policy #6519
Diffstat (limited to 'xmake/core/project/policy.lua')
| -rw-r--r-- | xmake/core/project/policy.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/core/project/policy.lua b/xmake/core/project/policy.lua index 0c79be649..d6f0a063d 100644 --- a/xmake/core/project/policy.lua +++ b/xmake/core/project/policy.lua @@ -178,7 +178,9 @@ function policy.policies() -- private: it will disable fetch remote package repositories ["network.mode"] = {description = "Set the network mode", type = "string"}, -- Set the compatibility version, e.g. 2.0, 3.0 - ["compatibility.version"] = {description = "Set the compatibility version", type = "string", default = "3.0", values = {"2.0", "3.0"}} + ["compatibility.version"] = {description = "Set the compatibility version", type = "string", default = "3.0", values = {"2.0", "3.0"}, + -- Enable or disable multiverison solution output + ["generator.vsxmake.multiversion"] = {description = "Enable or disable multiverison solution output", default = true, type = "boolean"}} } policy._POLICIES = policies end |
