|
|
|
Home About Sponsors Download Documentation FAQ Mailing Lists Testing News Bug Tracking Data Related Software Applications Copyright Marketplace |
CableSwig is used to create interfaces
(i.e. "wrappers") to interpreted languages such as Tcl and Python. It
was created to produce wrappers for ITK
because the toolkit uses C++ structures that SWIG cannot parse (deeply
nested template instantiations). CableSwig is a combination tool that
uses GCC_XML as the c++
parser. The input files are Cable
style input files. The XML produced from the Cable/GCC_XML input files
are then parsed and feed into a modified version of SWIG. SWIG is a software
development tool that connects programs written in C and C++ with a
variety of high-level programming languages. It is used to generate the
language bindings to the target language. Currently, Tcl and Python are
supported.
DescriptionCableSwig consists of four executables:
InstallingDownloadingCableSwig is currently only available by CVS.To use CVS, you must have it installed on your system. You may wish to use the Cygwin tools on Windows platforms, or WinCVS which provides a GUI to CVS. The source is accessed by checking out a read-only version of the CableSwig source code. (Only developers have write-access to the repository. Contact Kitware at kitware@kitware.com if you require write access.) Use the following command:
cvs -d :pserver:anonymous@public.kitware.com:/cvsroot/CableSwig \
co CableSwig
BuildingYou will need to install CMake to build CableSwig.
Once you have CableSwig sources and CMake on your system, there are two
ways to build CableSwig for ITK.
CaveatsCableSwig was developed to support ITK, and has not been widely used elsewhere. Not all features of SWIG are currently accessible through CableSwig. Features known to be missing are:
|