How does one go about removing the first element of a list? I want to make a state machine, something like:
WHILE(${LISTVAR})
# Get command from first entry
SHIFT(CMD ${LISTVAR})
# Get argument
SHIFT(CMD ${LISTVAR}
# Consume .....
ENDWHILE()
Where SHIFT is the magic to remove the first element from the list.
Joe
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake
