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
b115c984a9
More cleaning up of the class examples
2014-05-05 16:14:31 +12:00
Karl Wette
7cd9063b52
Remove execute permissions from various non-executable files
...
- source files and Makefiles need never be executable
- scripts are run directly by their interpreters in the
test suites, so also do not need to be executable
2014-05-02 20:06:11 +02:00
Karl Wette
3aacde4f5f
Whitespace cleanup of Example Makefiles
2014-04-16 12:06:02 +02:00
Olly Betts
0de4cf13a8
Further cleaning up of class examples
2014-02-24 10:10:24 +13:00
William S Fulton
894de07c3d
Add missing executable bit
2014-02-22 21:24:55 +00:00
Olly Betts
d67aed42bd
Remove executable bit from various test-suite runme files
2014-01-06 15:41:06 +13:00
William S Fulton
8700e79b3e
Guile port example fix for Guile 2.0
...
Rewinding the file before passing it to C fixed the problem of not being
able to read the file contents.
Also explain the error about writing to a string.
2013-05-23 23:24:19 +01:00
Geert Janssens
6e794da3f3
Guile port example - print a message to show the error is expected
2013-05-21 17:23:37 +02:00
William S Fulton
6f1aea7a12
Cosmetic makefile tidy up
2013-05-15 09:57:34 +01:00
Geert Janssens
2560210bfd
Guile delete Example makefile
2013-05-15 09:38:50 +02:00
Geert Janssens
d3cddb1355
Guile add two more examples and use load-extension instead of dynamic-load
2013-05-13 22:40:16 +02:00
Geert Janssens
090d2505d1
Guile create functional class example
2013-05-13 21:40:01 +02:00
Geert Janssens
e5f6ec8912
Guile fix matrix example
...
Got broken in commit dd36f28ac7
(Migrate Guile examples build into common Examples makefile)
2013-05-10 18:29:26 +02:00
William S Fulton
199c1f3249
Add skeleton for run test for Guile class example
2013-05-09 20:03:50 +01:00
William S Fulton
042d0dfdc2
Guile port example Makefile correction
2013-05-09 19:41:29 +01:00
William S Fulton
dd36f28ac7
Migrate Guile examples build into common Examples makefile
...
- Now Guile examples are built in a consistent way to other target
languages.
- Also set GUILE_AUTO_COMPILE=0 to remove auto-compilation is enabled
warnings
2013-05-09 19:28:09 +01:00
William S Fulton
d974e9aced
Guile examples consistency changes
...
Use new guile_embedded_run target or guile_run target for running the
examples like the other target languages (for suppressing stdout if run
from top level).
Consistency with other target language file renames: use runme.scm for
scripts and example.i, example.c for example code.
Add class example to examples being tested.
2013-05-09 18:35:18 +01:00
William S Fulton
1adb239046
Fix running of Guile multivalue and std_vector examples
2013-05-08 14:10:47 +01:00
William S Fulton
70b9df5ee9
Portable dynamic library loading for Guile
...
dynamic-link and load-extension work without passing the .so or .dll as
the shared library extension, so these have been dropped so the examples
and test-suite work on Cygwin.
Also update documentation and use the 'lib' prefix as that is what we
commonly name the shared libraries.
2013-05-08 12:42:17 +01:00
William S Fulton
6704501aad
Guile multimap example fix for 64 bit systems
2013-05-01 16:02:02 +01:00
Geert Janssens
fbb1978eb4
guile: get multimap example to run
2013-05-01 12:13:13 +02:00
Geert Janssens
8767e4e29e
guile: make constants example display some output similar to other languages
2013-05-01 11:19:14 +02:00
William S Fulton
ac596eb8a3
Add C++ class example for Guile
...
Also correct other example c++ makefiles
2013-04-30 07:28:29 +01:00
Geert Janssens
95bfa86ae9
guile: fix multimap example
...
- fix compiler warning
- fix guile 2 deprecation warnings
- minor cleanup of generated code
2013-04-28 22:06:27 +02:00
Geert Janssens
7b9c302fa1
guile: fix matrix example
...
- add missing library in link phase
- empty true path () for if is not allowed
2013-04-28 22:06:27 +02:00
Geert Janssens
d689d9a860
Fix deprecation warnings for test suite under guile 2.0
2013-04-28 22:06:24 +02:00
Geert Janssens
b819d2a91e
Drop guilegh interface
...
All of guile's interface files now use the scm interface.
This should not affect any users. Swig generated code
using the scm interface can be mixed with gh interface
using user code.
It does simplify maintenance of the guile swig code though.
2013-04-28 22:06:24 +02:00
Geert Janssens
b072f22930
Add support for guile 2.0: configure and makefiles.
...
Note: guile-config is badly broken for guile 2. So
the guile configure section has been rewritten to
use pkg-config instead.
Manually resolved conflicts:
Examples/Makefile.in
2013-04-28 22:06:22 +02:00
William S Fulton
13b66c997e
Guile example makefiles - run some of the examples in the check target.
...
Still some are missing. Add some missing examples to check.list.
2013-04-20 02:27:57 +01:00
William S Fulton
2e48e5b852
Guile example makefiles tweaks for consistency with other languages. 'make check' still incomplete.
2013-04-19 22:47:28 +01:00
William S Fulton
9c541c340a
remove final vestiges of gifplot example
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-28 00:16:39 +00:00
William S Fulton
4308dd03cf
SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-27 23:26:02 +00:00
William S Fulton
e7f8954bea
remove svn:executable property where applied incorrectly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 21:54:49 +00:00
William S Fulton
3463ced917
various warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 23:25:20 +00:00
Olly Betts
97ce2ae61a
[guile] Fix the guile examples on 64-bit platforms.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10074 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-30 01:08:24 +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
aca7753ecb
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8646 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:24:46 +00:00
William S Fulton
281f34873a
remove deprecated language specification in %typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 21:23: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
William S Fulton
c47c930f59
fix extern declarations
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-28 21:14:24 +00:00
William S Fulton
a0ee023f92
make compiler flags for running examples same as other languages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-11 18:04:35 +00:00
John Lenz
eec55ff302
Update Guile makefiles to work with default -scm mode.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6652 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 01:28:37 +00:00
William S Fulton
7381bddd84
Warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-07 21:27:23 +00:00
William S Fulton
5a286c6c10
SWIG-1.1 documentation directive removed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 22:47:39 +00:00
Thien-Thi Nguyen
477b1260c6
(SO): New var, reflecting AC_SUBST var.
...
Omitting this breaks `guile_clean' target.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4202 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-13 22:50:33 +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
Matthias Köppe
8ead02ee37
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:27:29 +00:00
Matthias Köppe
c2f9a7cbeb
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:04:17 +00:00
Matthias Köppe
6d4a3945dd
[Guile] New example.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:03:32 +00:00