Commit Graph

21 Commits

Author SHA1 Message Date
William S Fulton ef6e97ede2 Cleanup C# vcxproj files removing warnings 2024-10-19 15:36:08 +01:00
William S Fulton 3de322c13a Update C# examples to Visual Studio 2019 solutions 2024-10-19 15:36:08 +01:00
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
Olly Betts ac1f067ce9 Eliminate trivial differences between the reference examples 2014-11-07 15:34:43 +13:00
Olly Betts 37cd1474b5 Remove bogus ; after } in examples 2014-11-07 15:34:43 +13:00
William S Fulton f39ed94419 Fix compiler warnings in examples when using -std=c++98 -std=gnu89 -pedantic -Wreturn-type 2014-05-24 13:13:32 +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
William S Fulton abd31397fa Always use debug flags for Mono to get decent stacktraces on error. 2014-03-20 19:12:44 +00:00
William S Fulton 7f40ae3570 C# project files update
- Update project files to use Visual Studio 2005 (minimum supported .NET
  is now 2.0 which is what VS 2005 supports).
- Add project files for arrays example (requires /unsafe)
- Fix support so that the project files work straight out the box on 64
  bit systems (32 bit compile is the default).
- Fix support for 64 bit builds - use the x64 platform.
2014-02-23 15:47:42 +00:00
William S Fulton 760c398c49 Run csharp examples during 'make check-examples' 2013-04-19 22:28:03 +01:00
William S Fulton 0770ea75f4 Remove a warning when building in C# project files when they are converted for use by Visual Studio 2010
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12886 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-22 21:52:37 +00:00
William S Fulton f29193e5a7 Use svn:eol-style CRLF for Visual Studio project files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-22 21:48:33 +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 65c52f7c06 use $self special variable instead of self in %extend
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-08 01:01:37 +00:00
William S Fulton c772286a5d remove sprintf deprecated message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 00:38:54 +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 5c6646fc3f Visual Studio .NET 2003 solution and project files added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-07 21:45:20 +00:00
William S Fulton a9315a5af1 Warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-07 21:34:12 +00:00
William S Fulton 351f8daed5 Mods to work with Mono, Microsoft and pnet compilers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-27 09:32:18 +00:00
William S Fulton 2d263827d4 Use the C# compiler found by configure, not just pnet's cscc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4532 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 22:54:52 +00:00
William S Fulton ab5ee2246a Reference example like the other languages, all working
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:47:39 +00:00