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
|
end
|
||||||
|
|
||||||
function m.dCompile(cfg)
|
function m.dCompile(cfg)
|
||||||
p.push('<DCompile>')
|
if config.hasFile(cfg, path.isdfile) then
|
||||||
p.callArray(m.elements.dCompile, cfg)
|
p.push('<DCompile>')
|
||||||
p.pop('</DCompile>')
|
p.callArray(m.elements.dCompile, cfg)
|
||||||
|
p.pop('</DCompile>')
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
---
|
---
|
||||||
|
Reference in New Issue
Block a user