Examples README
October 30, 1996
Dave Beazley
-------------------------------------------------------------

This directory contains a few examples for all of the currently
supported target languages.   This directory is a little sparse
in a few areas, but I hope it's enough to get you going.

To see how to do various odd things in SWIG, check out the Misc
directory.   For language-specific examples, go to the appropriate
language dependent directory.

How to run
----------

All of the examples rely on the file "Makefile.template" located in
the top level of the SWIG distribution.  You may have to edit this
file to get it to work (although some of it gets set automatically by
configure).  Assuming that it is set up correctly, you should be able
to simply type "make" in an appropriate directory.

Note 
----
Some SWIG examples, particularly those related to 3rd party packages
such as OpenGL and MATLAB may take some hacking to get compiled on
your machine.   Hopefully the other examples will work, but you
should plan on having to do some minor tweaking of Makefiles here
and there.   

Changes (Version 1.1 Beta)
-------------------------

1.  More Perl5 examples---particularly related to shadow classes

2.  Perl and Python examples now have the option of being built
    as both dynamic and static extensions.

3.  A few more Python examples

4.  Minor cleanup here and there

5.  More examples will be provided with 1.1 final.


Changes (Version 1.0)
---------------------

1.  More examples (in Python and Perl5 in particular)
2.  Some more C++ examples.
3.  Fixed all of the makefiles to rely on a common makefile.
4.  Brought the examples up to SWIG 1.0 Final compatibility 
    (some still used obsolete features from 0.1alpha--yikes!).
4.  Minor cleanup and lots of little bug fixes.

Changes (since 1.0 Beta 3)
--------------------------
1. Added c++ directory
2. Added OpenGL directory
3. Added MATLAB example.
4. Changed examples to use "swig" command instead of "wrap"






