[cmake-developers] Testing wanted for ImproveCPackDoc

Eric Noulard eric.noulard at gmail.com
Thu Nov 17 17:17:53 EST 2011


2011/11/17 Brad King <brad.king at kitware.com>:
> 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.

Currently unknown markup are just ignored, but ok I'll add warning.

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org



More information about the cmake-developers mailing list