[cmake-developers] Documenting command signatures

Brad King brad.king at kitware.com
Mon Feb 3 14:34:00 EST 2014


On 02/02/2014 04:01 PM, Stephen Kelly wrote:
> source_group.rst contains this:
> 
>  .. code-block:: cmake
> 
>    source_group(<name> [FILES <src>...] [REGULAR_EXPRESSION <regex>])
> 
> 
> That block of code is not cmake code, but it is marked as such in the rst. 
> That seems inappropriate. I suggest removing the 'cmake' language specifier. 
> This repeats in many places. Finding them at least is scriptable.

It renders pretty nicely in html even when marked as "cmake".
Is there a problem?

-Brad




More information about the cmake-developers mailing list