[Insight-developers] Cable is great !

Luis Ibanez ibanez@choroid.cs.unc.edu
Sun, 28 Oct 2001 15:13:25 -0500 (EST)


Hi,

CABLE is working great !

I just added to Insight/Examples/TclWrappedSTLString
the example presented on Cable home page for wrapping
a STL std::string.

As requirements for the example to be built we
have now:

  ITK_WRAP_TCL (selected from CMake)
  GCCXML
  CABLE
  TCL_TCLSH

--

The example contains only two files:

a CMakeLists.txt file indicating the class that is
going to be wrapped and the name of this class
for Tcl. (As indicated in Cable web site).

a Tcl file precursor "stdString.tcl.in", that
results in a stdString.tcl file. This file was
marked as CONFIGURE in the CMakeList.txt file,
to take advantage of the ".in" mecanism for
variables replacement of CMAKE, and loading
the necessary libraries. (probably there
is better way to do this...)


We may be interested into extending CMake for
executing tcl scripts as tests also. (or is
that already possible ?)

---

This was tested on Linux 2.2.18, gcc 2.95.2
and Tcl 8.3.

---


It looks like we own Brad a Beer...
or maybe a couple of Dr.Peppers !


Thanks Brad,


Luis


-- 
Luis Ibanez                                      CB#:   7060
Research Assistan Professor                      phone: (919) 843 5436
Division of Neurosurgery                         fax:   (919) 966 6627
University of North Carolina at Chapel Hill      email: ibanez@cs.unc.edu
Chapel Hill, NC 27599-7060                       http://www.cs.unc.edu/~ibanez