Merge pull request #635 from robertop/parallel-make
Makefile generation - Don't force serial compilation for all projects
This commit is contained in:
commit
f7d98519a8
@ -144,8 +144,19 @@
|
||||
_p('')
|
||||
|
||||
if kind == "workspace" then
|
||||
_p('.NOTPARALLEL:')
|
||||
_p('')
|
||||
local haspch = false
|
||||
for _, prj in ipairs(target.projects) do
|
||||
for cfg in project.eachconfig(prj) do
|
||||
if cfg.pchheader then
|
||||
haspch = true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if haspch then
|
||||
_p('.NOTPARALLEL:')
|
||||
_p('')
|
||||
end
|
||||
end
|
||||
|
||||
make.defaultconfig(target)
|
||||
|
Reference in New Issue
Block a user