[cmake-developers] Converting cmake_parse_arguments to a builtin command

Brad King brad.king at kitware.com
Fri Dec 6 16:04:22 EST 2013


On 12/06/2013 02:51 PM, Daniele E. Domenichelli wrote:
> Actually ExternalProject, like several other modules, would probably
> benefit on using the C++ implementation instead of having their own
> parsing, or using the cmake implementation, but that's for a following
> patch.

The ExternalProject module does not use cmake_parse_arguments.
Its argument parsing is a lightweight state machine and mostly just
stores values in target properties for later query.  Having to route
that through another argument parsing command would not help much.
All the values would come back in variables just to turn around and
put them in target properties.

-Brad



More information about the cmake-developers mailing list