diff options
author | 2023-05-22 21:27:42 -0700 | |
---|---|---|
committer | 2023-05-22 21:27:42 -0700 | |
commit | 6de553742d991c94147b744672e3eb09077893eb (patch) | |
tree | 43a63cf4414eaa575473b99f5182302bc3c36338 /Source/Python | |
parent | 6fcc541fab15b0592c874d88f610a88486b080e2 (diff) | |
download | WarpX-6de553742d991c94147b744672e3eb09077893eb.tar.gz WarpX-6de553742d991c94147b744672e3eb09077893eb.tar.zst WarpX-6de553742d991c94147b744672e3eb09077893eb.zip |
Multi-Dim Buildsystem Support (#3933)
* Multi-Dim Buildsystem Support
* Docs
Diffstat (limited to 'Source/Python')
-rw-r--r-- | Source/Python/CMakeLists.txt | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Source/Python/CMakeLists.txt b/Source/Python/CMakeLists.txt index 00c9e02f1..e10b8486c 100644 --- a/Source/Python/CMakeLists.txt +++ b/Source/Python/CMakeLists.txt @@ -1,5 +1,8 @@ -target_sources(WarpX - PRIVATE - WarpX_py.cpp - WarpXWrappers.cpp -) +foreach(D IN LISTS WarpX_DIMS) + warpx_set_suffix_dims(SD ${D}) + target_sources(WarpX_${SD} + PRIVATE + WarpX_py.cpp + WarpXWrappers.cpp + ) +endforeach() |