[cmake-developers] Testing wanted for ImproveCPackDoc

Brad King brad.king at kitware.com
Thu Nov 17 16:59:57 EST 2011


On 11/15/2011 2:43 PM, Eric Noulard wrote:
> The idea is to add extra CMake comment markup, i.e.
>
> #   CPACK_PACKAGE_NAME - The name of the package (or application). If
> #   not specified, defaults to the project name.
>
> becomes:
>
> ##variable
> #   CPACK_PACKAGE_NAME - The name of the package (or application). If
> #   not specified, defaults to the project name.
> ##end
>
> this way we can extract variable documentation from the file itself.

That looks fine to me.  Please ensure that the implementation rejects
or at least warns about markup that it doesn't understand.

Thanks,
-Brad



More information about the cmake-developers mailing list