diff options
| author | ruki <[email protected]> | 2022-04-20 00:47:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-04-20 00:47:23 +0800 |
| commit | e807230557aac69e4d583c75626e3a7ebdb922f8 (patch) | |
| tree | e031183fd7ba8c3d799c5269b0800f0f4cfae165 | |
| parent | 4941a07e94c5356ca33f60097797581a7fc06b51 (diff) | |
update changelog
| -rw-r--r-- | CHANGELOG.md | 2 | ||||
| -rw-r--r-- | xmake/plugins/project/vstudio/impl/vs201x_vcxproj_filters.lua | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 34955a6e9..8f8518bc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ * [#2227](https://github.com/xmake-io/xmake/issues/2227): Improve cargo package with Cargo.toml file * Improve `add_requires` to support git commit as version * [#622](https://github.com/xmake-io/xmake/issues/622): Support remote compilation +* [#2282](https://github.com/xmake-io/xmake/issues/2282): Add `add_filegroups` to support file group for vs/vsxmake/cmake generator ### Changes @@ -1250,6 +1251,7 @@ * [#2227](https://github.com/xmake-io/xmake/issues/2227): 改进 cargo 包,支持指定 Cargo.toml 文件 * 改进 `add_requires` 支持 git command 作为版本 * [#622](https://github.com/xmake-io/xmake/issues/622): 支持远程编译 +* [#2282](https://github.com/xmake-io/xmake/issues/2282): 添加 `add_filegroups` 接口为 vs/vsxmake/cmake generator 增加文件组支持 ### 改进 diff --git a/xmake/plugins/project/vstudio/impl/vs201x_vcxproj_filters.lua b/xmake/plugins/project/vstudio/impl/vs201x_vcxproj_filters.lua index e66f6db96..a1647093f 100644 --- a/xmake/plugins/project/vstudio/impl/vs201x_vcxproj_filters.lua +++ b/xmake/plugins/project/vstudio/impl/vs201x_vcxproj_filters.lua @@ -57,6 +57,7 @@ function _make_filter(filepath, target, vcxprojdir) local targetinst = assert(target.instance, "target instance not found!") local filegroups = targetinst:get("filegroups") if filegroups then + -- @see https://github.com/xmake-io/xmake/issues/2282 filepath = path.absolute(filepath) local scriptdir = target.scriptdir for _, filegroup in ipairs(filegroups) do |
