> From: Sylvain Benner [mailto:[EMAIL PROTECTED] > Sent: 11 October 2007 16:40 > To: Josef Karthauser > Cc: cmake@cmake.org > Subject: Re: [CMake] Removing the first element from a list > > correction: > > MACRO(SHIFT RESULT LISTVAR) > LIST(GET ${LISTVAR} 1 ${RESULT}) > LIST(REMOVE_AT ${LISTVAR} 1) > ENDMACRO(SHIFT) > > rule: > > Dereferencing a macro variable gives you the variable name. > Dereferencing twice gives you the value of the passed variable. > > The other way is to call your original macro like this : > SHIFT(${CMD} ${Q})
Thanks muchly. Joe _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake