message: Loop on pybind11 modules
diff: @@ -46,23 +46,15 @@ for module in cython_modules:
  ext_modules = cythonize(ext_modules)
  +for module in pybind11_modules:
  + my_include_dirs = include_dirs + [pybind11.get_include(False), pybind11.get_include(True)]
  + if module == 'hera':
  + my_include_dirs = ['@HERA_WASSERSTEIN_INCLUDE_DIR@'] + my_include_dirs
  ext_modules.append(Extension(
  - 'gudhi.hera',
  - sources = [source_dir + 'hera.cc'],
  - language = 'c++',
  - include_dirs = include_dirs +
  - ['@HERA_WASSERSTEIN_INCLUDE_DIR@',
  - pybind11.get_include(False), pybind11.get_include(True)],
  - extra_compile_args=extra_compile_args + [@GUDHI_PYBIND11_EXTRA_COMPILE_ARGS@],
  - ))
  -
  -if "bottleneck" in pybind11_modules:
  - ext_modules.append(Extension(
  - 'gudhi.bottleneck',
  - sources = [source_dir + 'bottleneck.cc'],
  + 'gudhi.' + module,
  + sources = [source_dir + module + '.cc'],
  language = 'c++',
  - include_dirs = include_dirs +
  - [pybind11.get_include(False), pybind11.get_include(True)],
  + include_dirs = my_include_dirs,
  extra_compile_args=extra_compile_args + [@GUDHI_PYBIND11_EXTRA_COMPILE_ARGS@],
  extra_link_args=extra_link_args,
  libraries=libraries,
  