<div dir="ltr">Was there ever a bug filed on this? If so, what's the issue number in the bug tracker?<div><br></div><div>Thx,</div><div>David Cole</div><div><br><div class="gmail_quote">On Mon, Jul 28, 2008 at 7:15 AM, Doug Gregor <span dir="ltr"><<a href="mailto:doug.gregor@gmail.com">doug.gregor@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="Wj3C7c">On Fri, Jul 25, 2008 at 7:56 PM, Gregory Peele ARA/CFD <<a href="mailto:gpeele@ara.com">gpeele@ara.com</a>> wrote:<br>
> I'm really pleased with the component-based CPack installer with the NSIS<br>
> backend, and am currently using the July 24th CVS snapshot of CMake to take<br>
> advantage of it. Today I ran into a puzzler though. Some of the files I'm<br>
> installing have spaces in the relative path, and the NSIS script containing<br>
> them is being generated with extra quotes surrounding the full relative<br>
> install path, causing makensis to fail.<br>
><br>
><br>
><br>
> For example, my file is "Plugin Config.xml", and my install command is<br>
><br>
><br>
><br>
> INSTALL (FILES "Plugin Config.xml" DESTINATION bin/config COMPONENT<br>
> PLUGINS).<br>
><br>
><br>
><br>
> In the generated NSIS project.nsi file, this creates a line<br>
><br>
><br>
><br>
> Delete "$INSTDIR\"bin\config\plugin\Plugin Config.xml""<br>
><br>
><br>
><br>
> under the Remove_${PLUGINS} section. The extra quotes are causing makensis<br>
> to bail (and confusing it enough that tracking down the actual problem was<br>
> quite a challenge.)<br>
><br>
><br>
><br>
> Do I just not properly understand how to quote strings in CMake, or is this<br>
> a bug in the NSIS generator?<br>
<br>
</div></div>That's definitely a bug in the generator. Would you file a bug report<br>
at <a href="http://public.kitware.com/Bug/" target="_blank">http://public.kitware.com/Bug/</a> ?<br>
<br>
- Doug<br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div></div>