Hi Marcel,<br><br>Before CMAKE_PARSE_ARGUMENT [1] was integrated (11 months ago by Alex Neundorf), within CTK, we created a macro named ctkMacroParseArgument based on [2].<br><br>We will need to re-evaluate which minimum version of CMake we want to depend on and if possible, use the one provided by CMake. <br>

<br>If you want to re-use the macro available in CTK, you could copy it and adapt it to use CMAKE_PARSE_ARGUMENT.<br>

<br>Thanks<br>Jc<br><br>[1] <a href="http://cmake.org/gitweb?p=cmake.git;a=blob_plain;f=Modules/CMakeParseArguments.cmake;hb=HEAD" target="_blank">http://cmake.org/gitweb?p=cmake.git;a=blob_plain;f=Modules/CMakeParseArguments.cmake;hb=HEAD</a><br>



[2] <a href="http://www.cmake.org/Wiki/CMakeMacroParseArguments" target="_blank">http://www.cmake.org/Wiki/CMakeMacroParseArguments</a><br><br><div class="gmail_quote">On Wed, Jul 20, 2011 at 12:07 PM, Marcel Loose <span dir="ltr">&lt;<a href="mailto:loose@astron.nl" target="_blank">loose@astron.nl</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi all,<br>
<br>
As a spin-off of my question earlier today on INSTALL(CODE...) --<br>
<a href="http://www.mail-archive.com/cmake@cmake.org/msg37292.html" target="_blank">http://www.mail-archive.com/cmake@cmake.org/msg37292.html</a> --<br>
I followed the link<br>
<a href="https://github.com/commontk/CTK/blob/master/CMake/ctkMacroCompilePythonScript.cmake" target="_blank">https://github.com/commontk/CTK/blob/master/CMake/ctkMacroCompilePythonScript.cmake</a><br>
that was supplied in the first reply and finally arrived at<br>
<a href="http://www.cmake.org/Wiki/CMakeMacroParseArguments" target="_blank">http://www.cmake.org/Wiki/CMakeMacroParseArguments</a> which sounds like a<br>
very useful macro to have.<br>
<br>
I was wondering why this macro is only implemented in CPack.cmake as<br>
cpack_parse_arguments(). Is there a reason for not having it as standard<br>
CMake module?<br>
<br>
Best regards,<br>
Marcel Loose.<br>
<br>
<br>
--<br>
Marcel Loose<br>
Senior Software Engineer, Computing Group R&amp;D, Astron, the Netherlands<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://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><a href="tel:%2B1%20919%20869%208849" value="+19198698849" target="_blank">+1 919 869 8849</a><br><br>