${CMAKE_CURRENT_SOURCE_DIR}/../INTERP_KERNEL/GaussPoints
${CMAKE_CURRENT_SOURCE_DIR}/../RENUMBER
${CMAKE_CURRENT_SOURCE_DIR}/../RENUMBER_Swig
+ ${CMAKE_CURRENT_SOURCE_DIR}/../MEDPartitioner
+ ${CMAKE_CURRENT_SOURCE_DIR}/../MEDPartitioner_Swig
${PROJECT_BINARY_DIR}/doc
)
ENDIF(MEDCOUPLING_ENABLE_RENUMBER)
IF(MEDCOUPLING_ENABLE_PARTITIONER)
-
+ LIST(APPEND SWIG_MODULE_medcoupling_EXTRA_FLAGS -DWITH_PARTITIONER)
+ LIST(APPEND medcoupling_LIB_dependancies medpartitionercpp)
ENDIF(MEDCOUPLING_ENABLE_PARTITIONER)
SWIG_ADD_MODULE(medcoupling python medcoupling.i)
%include "MEDRenumberImpl.i"
#endif
+#ifdef WITH_PARTITIONER
+%include "MEDPartitionerCommon.i"
+#endif
+
%pythoncode %{
def MEDCouplingDataArrayDoubleIadd(self,*args):
import _medcoupling