aboutsummaryrefslogtreecommitdiff
path: root/Source/Python/Particles/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Python/Particles/CMakeLists.txt')
-rw-r--r--Source/Python/Particles/CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Source/Python/Particles/CMakeLists.txt b/Source/Python/Particles/CMakeLists.txt
new file mode 100644
index 000000000..eed1bb07c
--- /dev/null
+++ b/Source/Python/Particles/CMakeLists.txt
@@ -0,0 +1,17 @@
+###############################################################################
+# These are the files equivalent to the primary C++ implementation - but here
+# we define how they will appear in our Python module (aka Python bindings).
+#
+foreach(D IN LISTS WarpX_DIMS)
+ warpx_set_suffix_dims(SD ${D})
+ if(WarpX_PYTHON)
+ target_sources(pyWarpX_${SD}
+ PRIVATE
+ # pybind11
+ ParticleBoundaryBuffer.cpp
+ MultiParticleContainer.cpp
+ PinnedMemoryParticleContainer.cpp
+ WarpXParticleContainer.cpp
+ )
+ endif()
+endforeach()