On Friday, 30 December 2016 at 05:24:56 UTC, Jeremy DeHaan wrote:
On Friday, 30 December 2016 at 04:56:59 UTC, Jerry wrote:
On Friday, 30 December 2016 at 03:51:13 UTC, Jeremy DeHaan
wrote:
How does one correctly add a linker path that has spaces?
The quotes get consumed by the command line. The way DMD
spawns the linker by creating a new string with all the flags.
So it smashes everything into a new string, ignoring how the
string was passed into DMD. I think you can use triple quotes,
"""string with space""", and it should make the string passed
to DMD include the string. Might be different for powershell.
You mean I could do -L/LIBPATH:"""path"""?
Yah you can try it with echo.
echo "test with space"
prints: test with space
echo """test with space"""
prints: "test with space"