[Insight-developers] itk-module.cmake formatting

Marcus D. Hanwell marcus.hanwell at kitware.com
Fri Jun 17 15:24:16 EDT 2011


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


More information about the Insight-developers mailing list