removing path.translate from cs.listsources to prevent the use of double backslash path delimiters.
This commit is contained in:
parent
2e08d5f218
commit
0343d81c9f
@ -108,7 +108,7 @@
|
||||
onleaf = function(node, depth)
|
||||
local value = selector(node)
|
||||
if value then
|
||||
_x('\t%s \\', path.translate(value))
|
||||
_x('\t%s \\', value)
|
||||
end
|
||||
end
|
||||
})
|
||||
|
@ -35,7 +35,7 @@
|
||||
prepare()
|
||||
test.capture [[
|
||||
EMBEDFILES += \
|
||||
$(OBJDIR)\MyProject.Hello.resources \
|
||||
$(OBJDIR)/MyProject.Hello.resources \
|
||||
|
||||
]]
|
||||
end
|
||||
@ -50,7 +50,7 @@ EMBEDFILES += \
|
||||
prepare()
|
||||
test.capture [[
|
||||
EMBEDFILES += \
|
||||
$(OBJDIR)\MyProject.Hello.resources \
|
||||
$(OBJDIR)/MyProject.Hello.resources \
|
||||
|
||||
]]
|
||||
end
|
||||
|
@ -40,6 +40,21 @@ SOURCES += \
|
||||
]]
|
||||
end
|
||||
|
||||
--
|
||||
-- Path delimiter uses slash instead of backslash
|
||||
--
|
||||
|
||||
function suite.doesUseProperPathDelimiter()
|
||||
files { "Folder\\Hello.cs", "Folder/World.cs" }
|
||||
prepare()
|
||||
test.capture [[
|
||||
SOURCES += \
|
||||
Folder/Hello.cs \
|
||||
Folder/World.cs \
|
||||
|
||||
]]
|
||||
end
|
||||
|
||||
|
||||
--
|
||||
-- Files that should not be compiled should be excluded.
|
||||
@ -72,4 +87,3 @@ SOURCES += \
|
||||
|
||||
]]
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user