Well, the documentation is "The OPTIONS argument specifies command line<div>       arguments to pass to the configuration tool."</div><div><br></div>So I'd say it's more of a code bug and should be fixed in the code if possible.<div>
<br></div><div>On the CMake command line we would accept either "-DCMAKE_..." or "-D" "CMAKE_..."<br><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">
On Mon, Jul 9, 2012 at 6:05 AM, Rolf Eike Beer <span dir="ltr"><<a href="mailto:eike@sf-mail.de" target="_blank">eike@sf-mail.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I found this in one of my dashboards:<br>
<br>
CMake Warning:<br>
  Manually-specified variables were not used by the project:<br>
<br>
     CMAKE_BUILD_TYPE<br>
<br>
This was sort of a WTF as you may guess. I played around with it and found<br>
that this was caused by this instruction:<br>
<br>
ctest_configure(<br>
                OPTIONS "-D CMAKE_BUILD_TYPE=Debug"<br>
)<br>
<br>
If I remove the space between the -D and the rest everything works fine. What<br>
is up there? This is a bug, the question is: a documentation one or a code<br>
one?<br>
<br>
Eike<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers</a><br>
</blockquote></div><br></div>