summaryrefslogtreecommitdiff
path: root/Examples/ocaml/simple
Commit message (Collapse)AuthorAgeFilesLines
* More ocaml parallel make fixesWilliam S Fulton2019-03-261-0/+4
| | | | | | | The previous commit removed a pile of 'test -f' hacks which were sort of working for parallel builds and broke parallel test-suite builds. Now this is fixed properly - these files are safely created in the test-suite already. Now we create them safely in the examples.
* [OCaml] Improve "make clean" and similarZackery Spytz2019-01-071-5/+4
| | | | | When cleaning, remove the runme file and generated *.mli files. Remove unneeded MLFILE variables from Makefiles.
* [OCaml] Rename example_prog.ml to runme.ml in the OCaml examplesZackery Spytz2019-01-072-2/+2
| | | | | | | | Name the output executable "runme" in the examples. Replace use of "foolib" in the string_from_ptr example. Fix a warning in the std_vector example. Add strings_test to Examples/ocaml/check.list. Disable two tests that were causing the OCaml test suite to fail.
* Update ocaml documentation (#885)Guerin2017-02-011-12/+12
| | | | | Update ocaml simple example documentation Replaced python references by ocaml ones.
* Remove use of preinst-swig scriptWilliam S Fulton2015-08-211-4/+8
| | | | | | | | | | | | | 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.
* Allow examples and test-suite to be built out of source treeKarl Wette2014-05-111-5/+5
| | | | | | | | | | | | | | | | | | | | | | | - 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
* Ocaml example makefiles tweaks for consistency with other languages. Attempt ↵William S Fulton2013-04-191-7/+8
| | | | to add runtime tests to 'make check' - untested.
* Remove cvs $Header$William S Fulton2007-10-171-2/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* force examples to use preinst-swig, as is done in the test-suiteMarcelo Matus2005-11-271-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fix extern declarationsWilliam S Fulton2005-06-281-0/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* html fixesWilliam S Fulton2004-11-021-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* swigp4-ified examples.Art Yerkes2003-11-012-12/+13
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Examples updated.Art Yerkes2003-10-251-0/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5206 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* This shouldn't be here!William S Fulton2003-05-211-148/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4814 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Added info about dynamic linking to docArt Yerkes2003-02-271-0/+6
| | | | | | | | | | | Added dynamic targets to example makefiles Added ocaml_dynamic and ocaml_dynamic_cpp targets to Examples/Makefile.in Added OCAMLFIND and OCAMLDLGEN AC_SUBST lines in configure.in Currently, dynamic linking relies on ocamlfind and Gerd Stolpmann's Dl package, as well as some tricky elf linking. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* The great mergeDave Beazley2002-11-306-0/+328
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22