Commit graph

22 commits

Author SHA1 Message Date
William S Fulton
8e2bc595c6 Remove use of preinst-swig script
Complete the prototype removal in ca1431.

The script prevents SWIGTOOL=gdb from working as gdb can't be used to
debug a shell script, it requires a binary.

Add support for SWIGTOOL in all the examples.

SWIG_LIB_DIR and SWIGEXE must now instead be set by all Makefiles.

See issue #473.
2015-08-21 22:43:17 +01:00
Karl Wette
f574a34155 Allow examples and test-suite to be built out of source tree
- Examples/Makefile.in rules use SRCDIR as the relative source directory

- ./config.status replicates Examples/ source directory tree in build
  directory, and copies each Makefile to build directory, prefixed with
  a header which sets SRCDIR to source directory

- Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir

- Examples/test-suite/errors/Makefile.in needs to filter out source
  directory from SWIG error messages

- Lua: embedded interpreters are passed location of run-time test

- Python: copy run-time scripts to build directory because of 2to3
  conversion; import_packages example copies __init__.py from source
  directory; test-suite sets SCRIPTDIR to location of run-time tests

- Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir
  can be substituted with SRCDIR; removed './' from require() statements
  so that NODE_PATH can be used to point Node.js to build directory
2014-05-11 23:21:10 +02:00
Olly Betts
0de4cf13a8 Further cleaning up of class examples 2014-02-24 10:10:24 +13:00
Olly Betts
34c97ffdbd Improve the class example for several languages.
Fix numerous inaccuracies in index.html (where it exists) and eliminate
unnecessary differences between the example code being wrapped.
2014-02-23 18:24:51 +13:00
William S Fulton
92ffedceb5 Perl examples makefiles clean target fixed and use RUNPIPE and tidyup 2013-04-19 22:47:26 +01:00
William S Fulton
78cd350fe9 Fix Visual Studio examples to work when SWIG is unzipped into a directory containing spaces. 2013-01-15 07:18:20 +00:00
William S Fulton
48203afbd0 invoke using swig.exe instead of just swig in Visual Studio project files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-20 23:54:43 +00:00
William S Fulton
76eaea911b shadow->proxy terminlogy update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-29 18:01:45 +00:00
William S Fulton
532cb45882 eol-style set to CRLF
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-18 21:20:27 +00:00
William S Fulton
92bceacc38 Remove cvs $Header$
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:47:25 +00:00
John Lenz
6dda6f8321 Remove cvsignore files: this is stored on svn:igonre property now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-03 08:28:42 +00:00
William S Fulton
615df3789a Fix for Visual Studio Express 2005 without database support installed - no need to link against database libs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8742 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-07 20:50:27 +00:00
Marcelo Matus
d5122e2a9c force examples to use preinst-swig, as is done in the test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:17:20 +00:00
Marcelo Matus
2fc994e774 add test case for bug #1071279
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-21 08:03:49 +00:00
William S Fulton
392316f6d9 Fix for example to run without crashing since -proxy has become the default commandline option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6030 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-11 21:13:13 +00:00
William S Fulton
636a5db77a All the runtime scripts are called runme.pl now for easier testing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5652 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-20 21:24:12 +00:00
Dave Beazley
1f06d723a8 Fixed broken run script
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5609 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-09 18:32:44 +00:00
William S Fulton
fd88e57977 Missing quotes on environment variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-21 21:31:36 +00:00
William S Fulton
daa6e71791 New environment variable (PERL5_LIB) needed as the perl library isn't always called perl.lib
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-08 14:42:29 +00:00
Dave Beazley
12a43edc2d The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00
Dave Beazley
e52670b165 various updates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-12-24 04:07:20 +00:00
Dave Beazley
8c88eb66a8 New example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@779 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 00:48:27 +00:00