diff options
Diffstat (limited to 'xmake/rules/c++/modules/config.lua')
| -rw-r--r-- | xmake/rules/c++/modules/config.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/rules/c++/modules/config.lua b/xmake/rules/c++/modules/config.lua index 589413532..214f4e358 100644 --- a/xmake/rules/c++/modules/config.lua +++ b/xmake/rules/c++/modules/config.lua @@ -76,6 +76,11 @@ function main(target) target:add("files") end + local memcache = support.memcache() + local targets = memcache:get("targets") or {} + targets[target:fullname()] = {} + targets[target:fullname()].finished_parsing = false + memcache:set("targets", targets) -- moduleonly modules are implicitly public if target:is_moduleonly() then local sourcebatches = target:sourcebatches() |
