mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 00:20:06 +02:00
... note the swap of target_link_libraries lines in src/CMakeLists.txt, needed to build at least on macOS, becuase FFT.h must be looked up first in lib-math, not in lib-src/twolame Also making a dependency cycle of SampleFormat and Dither! But we will tolerate that within one small library.
32 lines
489 B
CMake
32 lines
489 B
CMake
#[[
|
|
A library of mathematical utilities and manipulation of samples
|
|
]]#
|
|
|
|
set( SOURCES
|
|
Dither.cpp
|
|
Dither.h
|
|
FFT.cpp
|
|
FFT.h
|
|
InterpolateAudio.cpp
|
|
InterpolateAudio.h
|
|
Matrix.cpp
|
|
Matrix.h
|
|
RealFFTf.cpp
|
|
RealFFTf.h
|
|
SampleCount.cpp
|
|
SampleCount.h
|
|
SampleFormat.cpp
|
|
SampleFormat.h
|
|
Spectrum.cpp
|
|
Spectrum.h
|
|
float_cast.h
|
|
)
|
|
set( LIBRARIES
|
|
lib-preferences-interface
|
|
PRIVATE
|
|
wxBase
|
|
)
|
|
audacity_library( lib-math "${SOURCES}" "${LIBRARIES}"
|
|
"" ""
|
|
)
|