[Insight-developers] itk-module.cmake formatting

Bill Lorensen bill.lorensen at gmail.com
Sun Jun 19 13:35:45 EDT 2011


I just edited the wiki page
http://itk.org/Wiki/ITK_Release_4/Modularization/Add_a_module/itk-module.cmake
to conform to this format.


On Fri, Jun 17, 2011 at 3:24 PM, Marcus D. Hanwell
<marcus.hanwell at kitware.com> wrote:
> On Fri, Jun 17, 2011 at 3:07 PM, Cory Quammen <cquammen at cs.unc.edu> wrote:
>> Dear developers,
>>
>> Currently, within the itk-module.cmake files, all dependencies are
>> listed on one line, e.g.
>>
>> itk_module(ITK-ImageGrid DEPENDS ITK-ImageFunction ITK-ImageFilterBase
>> TEST_DEPENDS ITK-TestKernel ITK-RegistrationCommon DESCRIPTION
>> "${DOCUMENTATION}")
>>
>> I propose the following format to make this easier to read.
>>
>>
>> itk_module(ITK-ImageGrid
>>  DEPENDS
>>    ITK-ImageFunction
>>    ITK-ImageFilterBase
>>  TEST_DEPENDS
>>    ITK-TestKernel
>>    ITK-RegistrationCommon
>>  DESCRIPTION
>>    "${DOCUMENTATION}"
>> )
>>
>>
>> What do you think?
>
> That looks great, I will adopt this format in the VTK version of this
> file for consistency too.
>
> Marcus
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>


More information about the Insight-developers mailing list