summaryrefslogtreecommitdiff
path: root/config/swig_ruby.mpb
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2007-01-11 19:21:53 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2007-01-11 19:21:53 +0000
commitcbf18a70c01f12ae47059c3de20dc5dc4a0922a6 (patch)
tree30a60bb412d533655e7ce303cd4921576528638f /config/swig_ruby.mpb
parent32b14723c227c57729ec55f30a58918c28996f62 (diff)
downloadMPC-cbf18a70c01f12ae47059c3de20dc5dc4a0922a6.tar.gz
ChangeLogTag: Thu Jan 11 19:19:55 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'config/swig_ruby.mpb')
-rw-r--r--config/swig_ruby.mpb19
1 files changed, 19 insertions, 0 deletions
diff --git a/config/swig_ruby.mpb b/config/swig_ruby.mpb
new file mode 100644
index 00000000..868eeac2
--- /dev/null
+++ b/config/swig_ruby.mpb
@@ -0,0 +1,19 @@
+// -*- MPC -*-
+// $Id$
+
+project {
+ Define_Custom(SWIG) {
+ automatic = 1
+ command = swig
+ commandflags = -ruby -c++
+ inputext = .swg, .swig, .i
+ source_outputext = _wrap.cxx
+ }
+ requires += swig_ruby
+ includes += $(RUBY_INCLUDE)/.
+ libpaths += $(RUBY_LIBPATH)/.
+
+ specific {
+ lib_prefix =
+ }
+}