medusa icon indicating copy to clipboard operation
medusa copied to clipboard

Complete quoting for parameters of some CMake commands

Open elfring opened this issue 10 years ago • 3 comments

Some parameters (like "${DOCROOT}/Doxyfile" and "${INCROOT}/address.hpp") are passed to CMake commands in your build scripts without enclosing them by quotation marks. I see that these places will result in build difficulties if the contents of the used variables will contain special characters like semicolons.

I would recommend to apply advices from a wiki article.

elfring avatar Sep 01 '14 17:09 elfring

Hi @elfring and thanks for the advice.

It'd help me a lot if you could provide me an example of path which trigger this issue.

wisk avatar Sep 01 '14 21:09 wisk

Would you like to look at any applied changes (or bug reports) for other software?

elfring avatar Sep 02 '14 20:09 elfring

Thanks for the link, I'll fix this ASAP.

wisk avatar Sep 02 '14 21:09 wisk