2024-06-16 09:31:13 +00:00
|
|
|
project(wdsp)
|
|
|
|
|
|
|
|
set(wdsp_SOURCES
|
|
|
|
../custom/apple/apple_compat.c
|
|
|
|
amd.cpp
|
|
|
|
ammod.cpp
|
|
|
|
amsq.cpp
|
2024-06-29 18:03:13 +00:00
|
|
|
anb.cpp
|
2024-06-16 09:31:13 +00:00
|
|
|
anf.cpp
|
|
|
|
anr.cpp
|
|
|
|
bandpass.cpp
|
|
|
|
bldr.cpp
|
|
|
|
bps.cpp
|
2024-07-02 22:52:16 +00:00
|
|
|
bpsnba.cpp
|
2024-06-16 09:31:13 +00:00
|
|
|
calculus.cpp
|
|
|
|
cblock.cpp
|
|
|
|
cfcomp.cpp
|
|
|
|
cfir.cpp
|
|
|
|
compress.cpp
|
|
|
|
delay.cpp
|
|
|
|
emnr.cpp
|
|
|
|
emph.cpp
|
|
|
|
eq.cpp
|
|
|
|
fcurve.cpp
|
|
|
|
fir.cpp
|
|
|
|
firmin.cpp
|
|
|
|
fmd.cpp
|
|
|
|
fmmod.cpp
|
|
|
|
fmsq.cpp
|
|
|
|
gain.cpp
|
|
|
|
gen.cpp
|
|
|
|
icfir.cpp
|
|
|
|
iir.cpp
|
|
|
|
iqc.cpp
|
|
|
|
lmath.cpp
|
|
|
|
meter.cpp
|
|
|
|
meterlog10.cpp
|
|
|
|
nbp.cpp
|
2024-06-29 18:03:13 +00:00
|
|
|
nob.cpp
|
2024-06-16 09:31:13 +00:00
|
|
|
osctrl.cpp
|
|
|
|
patchpanel.cpp
|
|
|
|
resample.cpp
|
|
|
|
rmatch.cpp
|
|
|
|
RXA.cpp
|
|
|
|
sender.cpp
|
|
|
|
shift.cpp
|
|
|
|
siphon.cpp
|
|
|
|
slew.cpp
|
2024-07-02 22:52:16 +00:00
|
|
|
snba.cpp
|
2024-06-16 09:31:13 +00:00
|
|
|
ssql.cpp
|
|
|
|
TXA.cpp
|
|
|
|
varsamp.cpp
|
|
|
|
wcpAGC.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set(wdsp_HEADERS
|
|
|
|
amd.hpp
|
|
|
|
ammod.hpp
|
|
|
|
amsq.hpp
|
2024-06-29 18:03:13 +00:00
|
|
|
anb.hpp
|
2024-06-16 09:31:13 +00:00
|
|
|
anf.hpp
|
|
|
|
anr.hpp
|
|
|
|
bandpass.hpp
|
|
|
|
bldr.hpp
|
|
|
|
bps.hpp
|
2024-07-02 22:52:16 +00:00
|
|
|
bpsnba.hpp
|
2024-06-24 08:20:14 +00:00
|
|
|
bufferprobe.hpp
|
2024-06-16 09:31:13 +00:00
|
|
|
calculus.hpp
|
|
|
|
cblock.hpp
|
|
|
|
cfcomp.hpp
|
|
|
|
cfir.hpp
|
|
|
|
comm.hpp
|
|
|
|
compress.hpp
|
|
|
|
delay.hpp
|
|
|
|
emnr.hpp
|
|
|
|
emph.hpp
|
|
|
|
eq.hpp
|
|
|
|
fcurve.hpp
|
|
|
|
fir.hpp
|
|
|
|
firmin.hpp
|
|
|
|
fmd.hpp
|
|
|
|
fmmod.hpp
|
|
|
|
fmsq.hpp
|
|
|
|
gain.hpp
|
|
|
|
gen.hpp
|
|
|
|
icfir.hpp
|
|
|
|
iir.hpp
|
|
|
|
iqc.hpp
|
|
|
|
lmath.hpp
|
|
|
|
meter.hpp
|
|
|
|
meterlog10.hpp
|
|
|
|
nbp.hpp
|
2024-06-29 18:03:13 +00:00
|
|
|
nob.hpp
|
2024-06-16 09:31:13 +00:00
|
|
|
osctrl.hpp
|
|
|
|
patchpanel.hpp
|
|
|
|
resample.hpp
|
|
|
|
rmatch.hpp
|
|
|
|
RXA.hpp
|
|
|
|
sender.hpp
|
|
|
|
shift.hpp
|
|
|
|
siphon.hpp
|
|
|
|
slew.hpp
|
2024-07-02 22:52:16 +00:00
|
|
|
snba.hpp
|
2024-06-16 09:31:13 +00:00
|
|
|
ssql.hpp
|
|
|
|
TXA.hpp
|
|
|
|
varsamp.hpp
|
|
|
|
wcpAGC.hpp
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${CMAKE_SOURCE_DIR}/exports
|
|
|
|
${CUSTOM_APPLE_INCLUDE}
|
|
|
|
${FFTW3F_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(wdsp SHARED
|
|
|
|
${wdsp_SOURCES}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(wdsp
|
|
|
|
${FFTW3F_LIBRARIES}
|
|
|
|
Qt::Core
|
|
|
|
)
|
|
|
|
|
|
|
|
set_target_properties(wdsp PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS true)
|
|
|
|
if (MSVC)
|
|
|
|
set_target_properties(wdsp PROPERTIES INTERPROCEDURAL_OPTIMIZATION false)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
install(TARGETS wdsp DESTINATION ${INSTALL_LIB_DIR})
|
|
|
|
|
|
|
|
if (LINUX)
|
|
|
|
add_executable(wdsp_make_interface
|
|
|
|
make_interface.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(wdsp_make_calculus
|
|
|
|
make_calculus.cpp
|
|
|
|
)
|
|
|
|
install(TARGETS wdsp_make_interface wdsp_make_calculus DESTINATION ${INSTALL_BIN_DIR})
|
|
|
|
endif()
|