Qt 5.8 | Qt Multimedia | Spectrum Example | fftreal.pro Example File

Qt 5.8.0 Reference Documentation

# fftreal.pro Example File

multimedia/spectrum/3rdparty/fftreal/fftreal.pro

      include(../../spectrum.pri)

      static: error(This library cannot be built for static linkage)

      TEMPLATE = lib
      TARGET   = fftreal

      # FFTReal
      HEADERS  += Array.h \
                  Array.hpp \
                  DynArray.h \
                  DynArray.hpp \
                  FFTRealFixLen.h \
                  FFTRealFixLen.hpp \
                  FFTRealFixLenParam.h \
                  FFTRealPassDirect.h \
                  FFTRealPassDirect.hpp \
                  FFTRealPassInverse.h \
                  FFTRealPassInverse.hpp \
                  FFTRealSelect.h \
                  FFTRealSelect.hpp \
                  FFTRealUseTrigo.h \
                  FFTRealUseTrigo.hpp \
                  OscSinCos.h \
                  OscSinCos.hpp \
                  def.h

      # Wrapper used to export the required instantiation of the FFTRealFixLen template
      HEADERS  += fftreal_wrapper.h
      SOURCES  += fftreal_wrapper.cpp

      DEFINES  += FFTREAL_LIBRARY

      macx {
          CONFIG += lib_bundle
      } else {
          DESTDIR = ../..$${spectrum_build_dir}
      }

      EXAMPLE_FILES = bwins/fftreal.def eabi/fftreal.def readme.txt license.txt

      target.path = $$[QT_INSTALL_EXAMPLES]/multimedia/spectrum
      INSTALLS += target

      CONFIG += install_ok  # Do not cargo-cult this!