D: Do not output DCompile block in vstudio if no d file in project
This commit is contained in:
parent
3d522e9068
commit
b1efce39df
@ -50,9 +50,11 @@
|
||||
end
|
||||
|
||||
function m.dCompile(cfg)
|
||||
p.push('<DCompile>')
|
||||
p.callArray(m.elements.dCompile, cfg)
|
||||
p.pop('</DCompile>')
|
||||
if config.hasFile(cfg, path.isdfile) then
|
||||
p.push('<DCompile>')
|
||||
p.callArray(m.elements.dCompile, cfg)
|
||||
p.pop('</DCompile>')
|
||||
end
|
||||
end
|
||||
|
||||
---
|
||||
|
Reference in New Issue
Block a user