diff options
| author | ruki <[email protected]> | 2020-12-29 23:08:41 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-12-29 23:08:41 +0800 |
| commit | 729564c443fe59ece8fa481db2693f4f1b4c1498 (patch) | |
| tree | 4d285a175bc249ce48503633e5acdd9bc7c7f71b /xmake/plugins/project/vsxmake/getinfo.lua | |
| parent | a9307b7687e1b29dfdecd1db0c86ae0d4c5ba501 (diff) | |
impl partial group for vsxmake
Diffstat (limited to 'xmake/plugins/project/vsxmake/getinfo.lua')
| -rw-r--r-- | xmake/plugins/project/vsxmake/getinfo.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/plugins/project/vsxmake/getinfo.lua b/xmake/plugins/project/vsxmake/getinfo.lua index 97fa6eb76..1eb6bad19 100644 --- a/xmake/plugins/project/vsxmake/getinfo.lua +++ b/xmake/plugins/project/vsxmake/getinfo.lua @@ -392,6 +392,12 @@ function main(outputdir, vsinfo) -- save deps _target.deps = table.unique(table.join(_target.deps or {}, table.keys(target:deps()), nil)) + + -- save group id + local group_path = target:get("group") + if group_path then + _target.group_id = hash.uuid4(path.filename(group_path)) + end end end end |
