[Insight-developers] C++ Dependency generator

Bill Lorensen bill.lorensen at gmail.com
Fri Jan 28 17:02:28 EST 2011


I did this for Slicer. You can see my other e-mail.


On Fri, Jan 28, 2011 at 4:54 PM, Luis Ibanez <luis.ibanez at kitware.com> wrote:
> Bill,
>
> Excellent !,
>
> That should do the trick.
>
> If we identify all the ITK headers in an application (e.g. Slicer or SNAP),
> and then run this on every one of those header, (and merge duplicates),
> we should end up with the exact list of ITK files needed by that application.
>
>
>     Luis
>
>
> --------------------------------------------------------------------------------------------------
> On Fri, Jan 28, 2011 at 12:12 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>> Following up on today's modularization discussion.
>>
>> G++ can generate a dependency list for a file with the -MM flag. I
>> just ran it on
>> itkBasicFilters/itkSmoothingRecursiveGaussianImageFilter.h
>>
>> I filtered out Utilities:
>> itkSmoothingRecursiveGaussianImageFilter.o:
>>  BasicFilters/itkCastImageFilter.h
>>  BasicFilters/itkRecursiveGaussianImageFilter.h
>>  BasicFilters/itkRecursiveGaussianImageFilter.txx
>>  BasicFilters/itkRecursiveSeparableImageFilter.h
>>  BasicFilters/itkRecursiveSeparableImageFilter.txx
>>  BasicFilters/itkSmoothingRecursiveGaussianImageFilter.h
>>  BasicFilters/itkSmoothingRecursiveGaussianImageFilter.h
>>  BasicFilters/itkSmoothingRecursiveGaussianImageFilter.txx
>>  BasicFilters/itkUnaryFunctorImageFilter.h
>>  BasicFilters/itkUnaryFunctorImageFilter.txx
>>  Common/itkCommand.h
>>  Common/itkCommand.h
>>  Common/itkConceptChecking.h
>>  Common/itkContinuousIndex.h
>>  Common/itkCovariantVector.h
>>  Common/itkCovariantVector.txx
>>  Common/itkCreateObjectFunction.h
>>  Common/itkDataObject.h
>>  Common/itkDefaultPixelAccessor.h
>>  Common/itkDefaultPixelAccessorFunctor.h
>>  Common/itkEventObject.h
>>  Common/itkExceptionObject.h
>>  Common/itkFastMutexLock.h
>>  Common/itkFixedArray.h
>>  Common/itkFixedArray.txx
>>  Common/itkImage.h
>>  Common/itkImage.h
>>  Common/itkImage.txx
>>  Common/itkImageBase.h
>>  Common/itkImageBase.txx
>>  Common/itkImageBoundaryCondition.h
>>  Common/itkImageConstIterator.h
>>  Common/itkImageConstIterator.txx
>>  Common/itkImageConstIteratorWithIndex.h
>>  Common/itkImageConstIteratorWithIndex.txx
>>  Common/itkImageHelper.h
>>  Common/itkImageIterator.h
>>  Common/itkImageIterator.txx
>>  Common/itkImageIteratorWithIndex.h
>>  Common/itkImageIteratorWithIndex.txx
>>  Common/itkImageLinearConstIteratorWithIndex.h
>>  Common/itkImageLinearConstIteratorWithIndex.txx
>>  Common/itkImageLinearIteratorWithIndex.h
>>  Common/itkImageLinearIteratorWithIndex.h
>>  Common/itkImageLinearIteratorWithIndex.txx
>>  Common/itkImageRegion.h
>>  Common/itkImageRegion.txx
>>  Common/itkImageRegionConstIterator.h
>>  Common/itkImageRegionConstIterator.txx
>>  Common/itkImageRegionConstIteratorWithIndex.h
>>  Common/itkImageRegionConstIteratorWithIndex.txx
>>  Common/itkImageRegionIterator.h
>>  Common/itkImageRegionIterator.h
>>  Common/itkImageRegionIterator.txx
>>  Common/itkImageRegionIteratorWithIndex.h
>>  Common/itkImageRegionIteratorWithIndex.h
>>  Common/itkImageRegionIteratorWithIndex.txx
>>  Common/itkImageSource.h
>>  Common/itkImageSource.txx
>>  Common/itkImageToImageFilter.h
>>  Common/itkImageToImageFilter.txx
>>  Common/itkImageToImageFilterDetail.h
>>  Common/itkImageTransformHelper.h
>>  Common/itkImportImageContainer.h
>>  Common/itkImportImageContainer.txx
>>  Common/itkInPlaceImageFilter.h
>>  Common/itkInPlaceImageFilter.h
>>  Common/itkInPlaceImageFilter.txx
>>  Common/itkIndent.h
>>  Common/itkIndex.h
>>  Common/itkIntTypes.h
>>  Common/itkLightObject.h
>>  Common/itkMacro.h
>>  Common/itkMath.h
>>  Common/itkMathDetail.h
>>  Common/itkMatrix.h
>>  Common/itkMatrix.txx
>>  Common/itkMetaDataDictionary.h
>>  Common/itkMetaDataObjectBase.h
>>  Common/itkMultiThreader.h
>>  Common/itkMutexLock.h
>>  Common/itkNeighborhood.h
>>  Common/itkNeighborhood.txx
>>  Common/itkNeighborhoodAccessorFunctor.h
>>  Common/itkNeighborhoodAllocator.h
>>  Common/itkNumericTraits.h
>>  Common/itkNumericTraits.h
>>  Common/itkNumericTraitsCovariantVectorPixel.h
>>  Common/itkNumericTraitsFixedArrayPixel.h
>>  Common/itkNumericTraitsPointPixel.h
>>  Common/itkNumericTraitsVectorPixel.h
>>  Common/itkObject.h
>>  Common/itkObjectFactory.h
>>  Common/itkObjectFactory.h
>>  Common/itkObjectFactoryBase.h
>>  Common/itkOffset.h
>>  Common/itkPixelTraits.h
>>  Common/itkPixelTraits.h
>>  Common/itkPoint.h
>>  Common/itkPoint.txx
>>  Common/itkProcessObject.h
>>  Common/itkProgressAccumulator.h
>>  Common/itkProgressReporter.h
>>  Common/itkRegion.h
>>  Common/itkSimpleFastMutexLock.h
>>  Common/itkSize.h
>>  Common/itkSliceIterator.h
>>  Common/itkSmartPointer.h
>>  Common/itkSmartPointerForwardReference.h
>>  Common/itkSpatialOrientation.h
>>  Common/itkTimeStamp.h
>>  Common/itkVector.h
>>  Common/itkVector.txx
>>  Common/itkWeakPointer.h
>>  Common/itkWin32Header.h
>> _______________________________________________
>> 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