summaryrefslogtreecommitdiff
path: root/ACE/MPC/config/swig_python.mpb
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/MPC/config/swig_python.mpb')
-rw-r--r--ACE/MPC/config/swig_python.mpb20
1 files changed, 20 insertions, 0 deletions
diff --git a/ACE/MPC/config/swig_python.mpb b/ACE/MPC/config/swig_python.mpb
new file mode 100644
index 00000000000..3b7b24933de
--- /dev/null
+++ b/ACE/MPC/config/swig_python.mpb
@@ -0,0 +1,20 @@
+// -*- MPC -*-
+// $Id$
+
+project {
+ Define_Custom(SWIG) {
+ automatic = 1
+ command = swig
+ commandflags = -python -c++
+ inputext = .swg, .swig, .i
+ source_outputext = _wrap.cxx
+ generic_outputext = .py
+ }
+ requires += swig_python
+ includes += $(PYTHON_INCLUDE)/.
+ libpaths += $(PYTHON_LIBPATH)/.
+
+ specific {
+ lib_prefix =
+ }
+}