spiral-software / fftx

FFTX Project
Other
19 stars 12 forks source link

FFTX with static libraries? #238

Open jdsierral opened 4 months ago

jdsierral commented 4 months ago

Feature Description I'm trying to integrate fftx in an environment that really prefers to use fully contained executables instead of dynamically linked libraries. I'd imagine this should work with no problem (at least in the CPU version)

Potential Solution I've tried manually changing the CMake Generated files to use the keyword STATIC instead of SHARED when declaring the libraries and it seems to be working fine. I'd imagine that setting a flag in the config-fftx-libs.sh file that would propagate to the python generation scripts would be enough. If this is something appealing I could try to do a pull request.