This tiny C library computes an N-length DFT with the help of a sliding window DFT (SDFT).
This project uses CMake for project file generation. I'm using the EAP of CLion for working on this project, which supports CMake out of the box, but here are the steps to perform:
$ cd /path/to/sdft
$ mkdir build
to have a folder where the project files can reside in an out of tree build$ cd build
$ cmake ..
Now, there should be appropriate project files in the build/
directory, depending on which target cmake chose for you (or you chose), with which compilation should be straightforward (e.g. $ make
or opening it in Visual Studio).
For instructions on how to use it, dig into test/main.c:compare_sdft_to_dft and read through the docstrings.