ADD_SUBDIRECTORY(cmake/config) # has to be included after source
ADD_SUBDIRECTORY(examples)
-ADD_SUBDIRECTORY(contrib/python-bindings/source)
+IF(DEAL_II_WITH_PYTHON)
+ ADD_SUBDIRECTORY(contrib/python-bindings/source)
+ENDIF()
IF(DEAL_II_HAVE_TESTS_DIRECTORY)
ADD_SUBDIRECTORY(tests)
#ifndef dealii__cell_accessor_wrapper_h
#define dealii__cell_accessor_wrapper_h
+#include <deal.II/base/config.h>
+
+#ifdef DEAL_II_WITH_CXX11
+
#include <deal.II/grid/tria_accessor.h>
DEAL_II_NAMESPACE_OPEN
DEAL_II_NAMESPACE_CLOSE
#endif
+
+#endif
#define dealii__point_wrapper_h
#include <deal.II/base/config.h>
+
+#ifdef DEAL_II_WITH_CXX11
+
#include <boost/python.hpp>
DEAL_II_NAMESPACE_OPEN
DEAL_II_NAMESPACE_CLOSE
#endif
+
+#endif
#ifndef dealii__triangulation_wrapper_h
#define dealii__triangulation_wrapper_h
+#include <deal.II/base/config.h>
+
+#ifdef DEAL_II_WITH_CXX11
+
#include <point_wrapper.h>
#include <boost/python.hpp>
#include <string>
DEAL_II_NAMESPACE_CLOSE
#endif
+
+#endif
//
// ---------------------------------------------------------------------
+#include <cell_accessor_wrapper.h>
+
+#ifdef DEAL_II_WITH_CXX11
+
#include <point_wrapper.h>
#include <triangulation_wrapper.h>
-#include <cell_accessor_wrapper.h>
#include <boost/python.hpp>
DEAL_II_NAMESPACE_OPEN
}
DEAL_II_NAMESPACE_CLOSE
+
+#endif
#include <triangulation_wrapper.h>
#include <boost/python.hpp>
+#ifdef DEAL_II_WITH_CXX11
+
DEAL_II_NAMESPACE_OPEN
namespace python
}
DEAL_II_NAMESPACE_CLOSE
+
+#endif
// ---------------------------------------------------------------------
#include <point_wrapper.h>
+
+#ifdef DEAL_II_WITH_CXX11
+
#include <deal.II/base/point.h>
#include <deal.II/base/exceptions.h>
#include <boost/python.hpp>
}
DEAL_II_NAMESPACE_CLOSE
+
+#endif
// ---------------------------------------------------------------------
#include <triangulation_wrapper.h>
+
+#ifdef DEAL_II_WITH_CXX11
+
#include <cell_accessor_wrapper.h>
#include <boost/python.hpp>
}
DEAL_II_NAMESPACE_CLOSE
+
+#endif
// ---------------------------------------------------------------------
#include <point_wrapper.h>
+
+#ifdef DEAL_II_WITH_CXX11
+
#include <deal.II/base/point.h>
DEAL_II_NAMESPACE_OPEN
}
DEAL_II_NAMESPACE_CLOSE
+
+#endif
// ---------------------------------------------------------------------
#include <triangulation_wrapper.h>
+
+#ifdef DEAL_II_WITH_CXX11
+
#include <cell_accessor_wrapper.h>
#include <deal.II/grid/tria.h>
#include <deal.II/grid/grid_generator.h>
}
DEAL_II_NAMESPACE_CLOSE
+
+#endif
// ---------------------------------------------------------------------
#include <deal.II/base/config.h>
+
+#ifdef DEAL_II_WITH_CXX11
+
#include <boost/python.hpp>
DEAL_II_NAMESPACE_OPEN
dealii::python::export_point();
dealii::python::export_triangulation();
}
+
+#endif