diff options
| author | Jérôme Leclercq <[email protected]> | 2022-03-15 13:14:09 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-03-15 13:14:09 +0100 |
| commit | 9f58078d7f23cb8708bec4117e72deca3fa2c0eb (patch) | |
| tree | b73013c53d132097f9e406d5372405128b22164e /xmake/rules/c++/unity_build/unity_build.lua | |
| parent | b7c9f94ec0efb1587da281d5a8781c3465f87837 (diff) | |
Unity build: prevent conflict between ungrouped and grouped batches
Diffstat (limited to 'xmake/rules/c++/unity_build/unity_build.lua')
| -rw-r--r-- | xmake/rules/c++/unity_build/unity_build.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/unity_build/unity_build.lua b/xmake/rules/c++/unity_build/unity_build.lua index 8d770ec02..d334c4970 100644 --- a/xmake/rules/c++/unity_build/unity_build.lua +++ b/xmake/rules/c++/unity_build/unity_build.lua @@ -90,7 +90,7 @@ function main(target, sourcebatch) local dependfile = sourcebatch.dependfiles[idx] local fileconfig = target:fileconfig(sourcefile) if fileconfig and fileconfig.unity_group then - sourcefile_unity = path.join(sourcedir, "unity_" .. fileconfig.unity_group .. path.extension(sourcefile)) + sourcefile_unity = path.join(sourcedir, "unity_group_" .. fileconfig.unity_group .. path.extension(sourcefile)) elseif (fileconfig and fileconfig.unity_ignored) or (batchsize and batchsize <= 1) then -- we do not add these files to unity file table.insert(sourcefiles, sourcefile) |
