[CMake] Re: Why prefer ADD_SUBDIRECTORY to SUBDIRS ?
Colin D Bennett
cbennett at gibibit.com
Mon Aug 20 14:50:21 EDT 2007
Christian Convey wrote:
> The online help says that we should use ADD_SUBDIRECTORY rather than
> SUBDIRS, but that SUBDIRS still works.
>
> Does anyone know why we're supposed to prefer ADD_SUBDIRECTORY?
Perhaps there is an effort to use consistent naming for command names,
where the name is a _verb_ describing the command.
Most (but not all) of the CMake command names are verbs. For example:
Try_run, Set_target_properties, Execute_process, Find_library, Include.
Regards,
Colin
More information about the CMake
mailing list