From cbfbb1636bd892aa42054214e327eb6813654202 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 13 Oct 2021 12:31:04 +0800 Subject: Update build_modulefiles.lua --- xmake/rules/c++/modules/build_modulefiles.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/rules/c++/modules/build_modulefiles.lua b/xmake/rules/c++/modules/build_modulefiles.lua index a41ab2f39..a8f0052a8 100644 --- a/xmake/rules/c++/modules/build_modulefiles.lua +++ b/xmake/rules/c++/modules/build_modulefiles.lua @@ -149,7 +149,7 @@ function _build_modulefiles_msvc(target, sourcebatch, opt) for _, sourcefile in ipairs(sourcebatch.sourcefiles) do local objectfile = target:objectfile(sourcefile) local dependfile = target:dependfile(objectfile) - local modulefile = objectfile .. ".pcm" + local modulefile = objectfile .. ".ifc" -- compile module file to *.pcm local singlebatch = {sourcekind = "cxx", sourcefiles = {sourcefile}, objectfiles = {objectfile}, dependfiles = {dependfile}} -- cgit v1.3.1