The CMake package name is DDC, you will find below a table listing the targets and headers.
| CMake component name | CMake target name | C++ headers |
|---|---|---|
| none | DDC::core | <ddc/ddc.hpp> |
pdi | DDC::pdi | <ddc/pdi.hpp> |
fft | DDC::fft | <ddc/kernels/fft.hpp> |
splines | DDC::splines | <ddc/kernels/splines.hpp> |
DDC follows semantic versioning. As of DDC v0, anything may change at any time hence the CMake compatibility mode is only SameMinorVersion.
If you only need the core features of the library, you can simply write the following cmake code
If you also rely on the FFT features of DDC, you will need the target DDC::fft that is available when the associated component is requested, as below
DDC::core because most component functionalities (such as FFT) depend on features provided by the core library.