Re: [CMake] Default parameters in macros

2008-11-26 Thread Hugo Heden
>>> Are all macro parameters optional by default? If not, how can I make them >>> optional? I have a couple of required parameters and a few optional ones. >>> Thanks. >> >> You can use the ${ARGV} special variable in macros to iterate over all >> provided arguments. > Would that be all arguments

Re: [CMake] Default parameters in macros

2008-11-25 Thread Michael Jackson
On Nov 25, 2008, at 11:40 AM, Robert Dailey wrote: Hi, Are all macro parameters optional by default? If not, how can I make them optional? I have a couple of required parameters and a few optional ones. Thanks. Here is some code from Boosts CMake files: == START BOOST CMAKE COD

Re: [CMake] Default parameters in macros

2008-11-25 Thread Sean Soria
Would that be all arguments or only unnamed ones? On Tue, Nov 25, 2008 at 12:46 PM, Alexander Neundorf <[EMAIL PROTECTED]> wrote: > On Tuesday 25 November 2008, Robert Dailey wrote: >> Hi, >> >> Are all macro parameters optional by default? If not, how can I make them >> optional? I have a couple

Re: [CMake] Default parameters in macros

2008-11-25 Thread Alexander Neundorf
On Tuesday 25 November 2008, Robert Dailey wrote: > Hi, > > Are all macro parameters optional by default? If not, how can I make them > optional? I have a couple of required parameters and a few optional ones. > Thanks. You can use the ${ARGV} special variable in macros to iterate over all provid

[CMake] Default parameters in macros

2008-11-25 Thread Robert Dailey
Hi, Are all macro parameters optional by default? If not, how can I make them optional? I have a couple of required parameters and a few optional ones. Thanks. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake