> Before that those MACROs needs to be pruned in order
> to avoid duplicate function with current CMake 2.6 LIST builtin command.
> Then one (you or me for example) should file something
> like "feature request" for including the macros file to CMake distro.
>
> Then I think for each such mod
On Thursday 08 May 2008, Eric NOULARD wrote:
...
> Then I think for each such module Kitware may require
> a "maintainer" just like for FindXXX:
> http://www.vtk.org/Wiki/CMake:Module_Maintainers
>
> Can anyone at Kitware and/or CMake official developer
> tell us if it's worth requesting inclusion
Le Thu, 8 May 2008 10:08:37 -0500,
"George Neill" <[EMAIL PROTECTED]> a écrit :
> Eric,
>
> On Thu, May 8, 2008 at 4:37 AM, Eric NOULARD <[EMAIL PROTECTED]>
> wrote:
> > Just for sake of information when I need such feature
> > in an home-brewed MACRO I do use the
> > PARSE_ARGUMENTS macro def
Eric,
On Thu, May 8, 2008 at 4:37 AM, Eric NOULARD <[EMAIL PROTECTED]> wrote:
> Just for sake of information when I need such feature
> in an home-brewed MACRO I do use the
> PARSE_ARGUMENTS macro defined here:
> http://www.cmake.org/Wiki/CMakeMacroParseArguments
>
> which relies on LIST_CONT
Le Wed, 7 May 2008 17:33:54 -0500,
"George Neill" <[EMAIL PROTECTED]> a écrit :
> Alexander,
>
> > > Below is what I have come up with to fetch named arg from a
> > > list. Is there a preferred or built-in way to do this I may
> > > have missed?
> >
> > There is no built-in way, but it would
Alexander,
> > Below is what I have come up with to fetch named arg from a list. Is
> > there a preferred or built-in way to do this I may have missed?
>
> There is no built-in way, but it would be nice to have one.
> Maybe some function for LIST() ?
Thanks for confirming this. That'd be ni
On Thursday 01 May 2008, George Neill wrote:
> Hi All,
>
> Below is what I have come up with to fetch named arg from a list. Is
> there a preferred or built-in way to do this I may have missed?
There is no built-in way, but it would be nice to have one.
Maybe some function for LIST() ?
Alex
Hi All,
Below is what I have come up with to fetch named arg from a list. Is
there a preferred or built-in way to do this I may have missed?
MACRO(GET_NAMED_ARG _key)
LIST(APPEND STOP_KEYWORDS DEPENDS SOURCE)
SET(${_key} FALSE)
SET(_stop -1)
FOREACH(arg ${ARGN})
IF(NOT