diff options
| author | ruki <[email protected]> | 2022-08-05 00:38:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-08-05 00:38:05 +0800 |
| commit | b8c3621afb10f6dd7ee483ed8bebfb039cd11d7e (patch) | |
| tree | 9ebd27fcb23e9a39a856e832495ea673f7354e60 /xmake/rules/c++/modules/modules_support/common.lua | |
| parent | a230a29949612a49fb9acb06988518e0d84ecfe1 (diff) | |
add more comments
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/common.lua')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/common.lua | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/xmake/rules/c++/modules/modules_support/common.lua b/xmake/rules/c++/modules/modules_support/common.lua index 11f7bf897..00f7ae6f3 100644 --- a/xmake/rules/c++/modules/modules_support/common.lua +++ b/xmake/rules/c++/modules/modules_support/common.lua @@ -128,6 +128,33 @@ function load_moduleinfos(target, sourcebatch, opt) end -- parse module dependency data +--[[ +{ + "build/.objs/stl_headerunit/linux/x86_64/release/src/hello.mpp.o" = { + requires = { + iostream = { + method = "include-angle", + unique = true, + path = "/usr/include/c++/11/iostream" + } + }, + provides = { + hello = { + bmi = "build/.gens/stl_headerunit/linux/x86_64/release/rules/modules/cache/hello.gcm", + sourcefile = "src/hello.mpp" + } + } + }, + "build/.objs/stl_headerunit/linux/x86_64/release/src/main.cpp.o" = { + requires = { + hello = { + method = "by-name", + unique = false, + path = "build/.gens/stl_headerunit/linux/x86_64/release/rules/modules/cache/hello.gcm" + } + } + } +}]] function parse_dependency_data(target, moduleinfos, opt) local modules local cachedir = modules_cachedir(target) |
