Commit ed1421ef authored by Markus Mirz's avatar Markus Mirz
Browse files

pybind: move shmem interface to villas extension


Signed-off-by: Markus Mirz's avatarMarkus Mirz <mmirz@eonerc.rwth-aachen.de>
parent 64895524
......@@ -213,10 +213,14 @@ endif(BUILD_EXAMPLES)
if(WITH_PYBIND)
set(PYBIND11_CPP_STANDARD -std=c++11)
pybind11_add_module(dpsimpy Source/pybind/main.cpp)
pybind11_add_module(dpsimpyvillas Source/pybind/dpsim-villas.cpp)
pybind11_add_module(dpsimpy Source/pybind/main.cpp)
target_link_libraries(dpsimpy PRIVATE dpsim)
target_link_libraries(dpsimpyvillas PRIVATE dpsim)
if(WITH_SHMEM)
pybind11_add_module(dpsimpyvillas ${CMAKE_BINARY_DIR}/_deps/villas-dpsim-src/src/dpsim-villas.cpp)
target_link_libraries(dpsimpyvillas PRIVATE dpsim)
endif()
endif()
include(cmake/GetGridData.cmake)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment