[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Generate SWIG files in the build directory

From: David James <james82_at_gmail.com>
Date: 2005-12-24 20:52:18 CET


Generate SWIG files in the build directory, so that developers can test
different SWIG configurations using multiple VPATH builds.

Patch by: philip

* Makefile.in
   EXTRACLEAN_SWIG_RB): Clean generated headers from build directory, instead
  of the source directory.
  (swig-pl): Only symlink C files to the source directory when we're in release
  (copy-swig-py): Copy python files from the build directory if we're not in
  release mode.

* build/generator/gen_base.py
  (SWIGObject.__init__): Add release_mode parameter. Set self.source_generated
  based on whether we're in release mode.
  (TargetSWIG.__init__): Initialize release mode member.
  (TargetSWIG.add_dependencies): Don't prepend $(top_srcdir) to path for
  generated C files. Instead, pass a release_mode parameter into created
  SWIGObjects, so that the SWIGObject can prepend $(abs_srcdir) when we're in
  release mode.

* build/generator/swig/header_wrappers.py,
  (Generator.write_makefile_rules): Generate SWIG headers in the build


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sun Dec 25 00:32:52 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.