[CMake] Default parameters in macros

Sean Soria sean.soria at gmail.com
Tue Nov 25 16:00:33 EST 2008


Would that be all arguments or only unnamed ones?

On Tue, Nov 25, 2008 at 12:46 PM, Alexander Neundorf
<a.neundorf-work at gmx.net> 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 of required parameters and a few optional ones.
>> Thanks.
>
> You can use the ${ARGV} special variable in macros to iterate over all
> provided arguments.
>
> Alex
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>


More information about the CMake mailing list