Re: [CMake] Why is macro PARSE_ARGUMENTS() not part of standard CMake modules?

2011-07-21 Thread Marcel Loose
Ah, sorry. I didn't check the (almost) latest cmake. I'm currently stuck with Ubuntu LTS 10.04, which ships cmake 2.8.0. I'll backport then. Regards, Marcel Loose. On Wed, 2011-07-20 at 22:14 +0200, Alexander Neundorf wrote: On Wednesday 20 July 2011, Jean-Christophe Fillion-Robin wrote: Hi

[CMake] Why is macro PARSE_ARGUMENTS() not part of standard CMake modules?

2011-07-20 Thread Marcel Loose
Hi all, As a spin-off of my question earlier today on INSTALL(CODE...) -- http://www.mail-archive.com/cmake@cmake.org/msg37292.html -- I followed the link https://github.com/commontk/CTK/blob/master/CMake/ctkMacroCompilePythonScript.cmake that was supplied in the first reply and finally arrived

Re: [CMake] Why is macro PARSE_ARGUMENTS() not part of standard CMake modules?

2011-07-20 Thread Jean-Christophe Fillion-Robin
Hi Marcel, Before CMAKE_PARSE_ARGUMENT [1] was integrated (11 months ago by Alex Neundorf), within CTK, we created a macro named ctkMacroParseArgument based on [2]. 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. If

Re: [CMake] Why is macro PARSE_ARGUMENTS() not part of standard CMake modules?

2011-07-20 Thread Alexander Neundorf
On Wednesday 20 July 2011, Jean-Christophe Fillion-Robin wrote: Hi Marcel, Before CMAKE_PARSE_ARGUMENT [1] was integrated (11 months ago by Alex Neundorf), within CTK, we created a macro named ctkMacroParseArgument based on [2]. Yes, so it is in cmake since 2.8.3. Alex