From 8bf9b7d700770b775b859d9b2a8c7521a4792742 Mon Sep 17 00:00:00 2001 From: Kilian Weishaupt <kilian.weishaupt@iws.uni-stuttgart.de> Date: Mon, 21 Sep 2020 12:02:00 +0200 Subject: [PATCH] [python] Update CMakeLists.txt --- dumux/CMakeLists.txt | 5 +++++ dumux/python/common/CMakeLists.txt | 2 ++ dumux/python/discretization/CMakeLists.txt | 3 +++ 3 files changed, 10 insertions(+) create mode 100644 dumux/python/discretization/CMakeLists.txt diff --git a/dumux/CMakeLists.txt b/dumux/CMakeLists.txt index 819d019ad5..8b27a75173 100644 --- a/dumux/CMakeLists.txt +++ b/dumux/CMakeLists.txt @@ -13,3 +13,8 @@ add_subdirectory(multidomain) add_subdirectory(nonlinear) add_subdirectory(parallel) add_subdirectory(porousmediumflow) + +# if Python bindings are enabled, include necessary sub directories. +if(DUNE_ENABLE_PYTHONBINDINGS) + add_subdirectory(python) +endif() diff --git a/dumux/python/common/CMakeLists.txt b/dumux/python/common/CMakeLists.txt index b507d026f0..19d092e5cc 100644 --- a/dumux/python/common/CMakeLists.txt +++ b/dumux/python/common/CMakeLists.txt @@ -1,3 +1,5 @@ install(FILES +boundarytypes.hh +fvproblem.hh timeloop.hh DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/python/common) diff --git a/dumux/python/discretization/CMakeLists.txt b/dumux/python/discretization/CMakeLists.txt new file mode 100644 index 0000000000..efe5f30fb1 --- /dev/null +++ b/dumux/python/discretization/CMakeLists.txt @@ -0,0 +1,3 @@ +install(FILES +gridgeometry.hh +DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/python/discretization) -- GitLab