Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcfr/headertoolkitdependencywalker
Python script helping to discover on which toolkit libraries your Cpp project is depending on.
https://github.com/jcfr/headertoolkitdependencywalker
Last synced: 1 day ago
JSON representation
Python script helping to discover on which toolkit libraries your Cpp project is depending on.
- Host: GitHub
- URL: https://github.com/jcfr/headertoolkitdependencywalker
- Owner: jcfr
- License: apache-2.0
- Created: 2011-12-29T20:00:05.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-12-29T23:16:27.000Z (about 13 years ago)
- Last Synced: 2024-11-24T07:42:09.179Z (2 months ago)
- Language: Python
- Homepage:
- Size: 102 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
HeaderToolkitDependencyWalker
=========Overview
--------Think of HeaderToolkitDependencyWalker as an easy way to discover on which toolkit library (i.e [ITK][itk], [VTK][vtk] or [CTK][ctk]) your Cpp project is depending on.
Usage
-----Quick examples:
$ cd ~/Projects/Slicer4/Libs/MRML/Core
$ header_toolkit_dependency_walker.py --toolkit-source-directory=~/Projects/Slicer4-Superbuild-Debug/VTK
Common
Filtering
Graphics
Hybrid
IO
Imaging
RenderingSimple.
Note also that passing the `--extra-verbose` option will provide you with more details:
$ cd ~/Projects/Slicer4/Libs/MRML/Core
$ header_toolkit_dependency_walker.py --toolkit-source-directory=~/Projects/Slicer4-Superbuild-Debug/VTK --extra-verbose
3048 headers found in [/home/jchris/Projects/Slicer4-Superbuild-Debug/VTK] using [*.h]
2966 entries added to 'Header -> Library' map
Found 98 files walking [.] using [*.h] pattern
Found 188 files walking [.] using [*.cxx] pattern
Found 0 files walking [.] using [*.cpp] pattern
-------------------------------------------------- -------------------------------------------------- --------------------
Project Header Toolkit Header Toolkit Library
-------------------------------------------------- -------------------------------------------------- --------------------
vtkImageAccumulateDiscrete.h vtkImageToImageFilter.h Filtering
vtkMRMLScene.h vtkObject.h Common
vtkCacheManager.h vtkObject.h Common
vtkMRMLFiducial.h vtkObject.h Common
[...]
vtkObserverManagerTest1.cxx vtkIntArray.h Common
vtkMRMLTransformNodeTest1.cxx vtkGeneralTransform.h Common
--------------------
Toolkit Library
--------------------
Common
Filtering
Graphics
Hybrid
IO
Imaging
RenderingInstallation
------------1. [Download the script](https://raw.github.com/jcfr/HeaderToolkitDependencyWalker/master/header_toolkit_dependency_walker.py).
2. Place it on your path. (I like to use `~/bin`)
3. Set it to be executable. (`chmod 755 ~/bin/header_toolkit_dependency_walker.py`)Contributing
------------Once you've made your great commits:
1. [Fork][fk] HeaderToolkitDependencyWalker
2. Create a topic branch - `git checkout -b my_branch`
3. Push to your branch - `git push origin my_branch`
4. Create an [Issue][is] with a link to your branch
5. That's it!Meta
----* Code: `git clone git://github.com/jcfr/HeaderToolkitDependencyWalker.git`
* Home:
* Bugs:License
-------Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.[fk]: http://help.github.com/forking/
[is]: http://github.com/jcfr/HeaderToolkitDependencyWalker/issues
[itk]: http://itk.org
[vtk]: http://vtk.org
[ctk]: http://commontk.org