diff options
author | 2020-06-12 17:51:00 -0700 | |
---|---|---|
committer | 2020-06-12 17:51:00 -0700 | |
commit | c493991df0a583dc953feb652dee32633f97fd34 (patch) | |
tree | 0182f506a9e3c4441358b8ab8cabffe60c1ebef0 /Source/FieldSolver/SpectralSolver/SpectralAlgorithms | |
parent | dbd3adbce2aa5727e346bc387cef57ac23fc1b14 (diff) | |
download | WarpX-c493991df0a583dc953feb652dee32633f97fd34.tar.gz WarpX-c493991df0a583dc953feb652dee32633f97fd34.tar.zst WarpX-c493991df0a583dc953feb652dee32633f97fd34.zip |
Add CMake Scripts (#759)
* [skip travis] CMake: Add CMake Scripts
This add CMake scripts for the CMake build system generator.
* CUDA Support Achieved
Fastest compile via:
cmake .. -DENABLE_CUDA=ON -DCUDA_ARCH=6.0
* CMake: openPMD & QED
* CMake: Dimension Support
WarpX_DIMS=2,3,RZ
* CCache & Out-of-Source
Enable CCache when found and prevent in-root builds (in-source okay-ish).
* CMake: CUDA C++ Language Minimum
* Add new Files
* CI: Migrate macOS to CMake
* Fortran: Enable Because Transitive
... for now :)
* CI: Migrate Linux ICC to CMake
* CI: Verbose Make
* CMake: Add Missing PSATD Sources
* CMake: PSATD, Compute, Precision, Clean
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms')
-rw-r--r-- | Source/FieldSolver/SpectralSolver/SpectralAlgorithms/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/CMakeLists.txt b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/CMakeLists.txt new file mode 100644 index 000000000..b80091aaf --- /dev/null +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/CMakeLists.txt @@ -0,0 +1,15 @@ +target_sources(WarpX + PRIVATE + GalileanAlgorithm.cpp + PMLPsatdAlgorithm.cpp + PsatdAlgorithm.cpp + SpectralBaseAlgorithm.cpp +) + +if(WarpX_DIMS STREQUAL RZ) + target_sources(WarpX + PRIVATE + SpectralBaseAlgorithmRZ.cpp + PsatdAlgorithmRZ.cpp + ) +endif() |