Revision f8f3cb8d65d3ddbd8840814df7df884a2714b88e authored by Brad King on 03 February 2017, 15:08:37 UTC, committed by Brad King on 06 February 2017, 14:53:15 UTC
Fix our calls to `AddCustomCommandToOutput` for adding cmake re-run
check commands to disable old-style quoting in favor of the full quoting
logic.  This is necessary when paths contain special characters like `&`
that old-style quoting logic does not handle.

This also requires us to expand the `$(SolutionPath)` placeholder
explicitly because otherwise its expanded value will no longer be quoted
correctly.  As a side effect, this fixes the value in VS 10 and above
where the placeholder may be undefined when driving the build through
MSBuild without the `.sln` file.

Reported-by: Steven Cook <sc@harshbutfair.org>
Fixes: #16585
1 parent 6286d26
Raw File
.gitattributes
.gitattributes   export-ignore
.hooks*          export-ignore

bootstrap        crlf=input
configure        crlf=input
*.[1-9]          crlf=input
*.sh             crlf=input
*.sh.in          crlf=input

*.bat           -crlf
*.bat.in        -crlf
*.dsp           -crlf
*.dsw           -crlf
*.pfx           -crlf
*.png           -crlf
*.sln           -crlf
*.vcproj        -crlf

*.c              whitespace=tab-in-indent
*.h              whitespace=tab-in-indent
*.cxx            whitespace=tab-in-indent
*.txt            whitespace=tab-in-indent
*.cmake          whitespace=tab-in-indent

*.rst            whitespace=tab-in-indent conflict-marker-size=79
back to top