[*] gmake2: fix unescaped ' ' characters in target directory and target
This commit is contained in:
parent
00c056c0fe
commit
647a083895
@ -268,13 +268,13 @@
|
|||||||
|
|
||||||
|
|
||||||
function gmake2.target(cfg, toolset)
|
function gmake2.target(cfg, toolset)
|
||||||
p.outln('TARGETDIR = ' .. project.getrelative(cfg.project, cfg.buildtarget.directory))
|
p.outln('TARGETDIR = ' .. p.esc(project.getrelative(cfg.project, cfg.buildtarget.directory)))
|
||||||
p.outln('TARGET = $(TARGETDIR)/' .. cfg.buildtarget.name)
|
p.outln('TARGET = $(TARGETDIR)/' .. p.esc(cfg.buildtarget.name))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
function gmake2.objdir(cfg, toolset)
|
function gmake2.objdir(cfg, toolset)
|
||||||
p.outln('OBJDIR = ' .. project.getrelative(cfg.project, cfg.objdir))
|
p.outln('OBJDIR = ' .. p.esc(project.getrelative(cfg.project, cfg.objdir)))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user