dsp: CMake - twin.cpp/phase_table.cpp в либу, executables harness+twin_check, фикс путей dsp/

This commit is contained in:
2026-08-18 16:58:00 +03:00
parent 32a63955f8
commit 0a4c0c959b
+14 -10
View File
@@ -7,18 +7,22 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(Threads REQUIRED)
add_library(soothe2_dsp SHARED
dsp/fft_plan.cpp
dsp/fft_stage.cpp
dsp/cody_waite.cpp
dsp/twiddle_builder.cpp
dsp/fft.cpp
dsp/spectral.cpp
dsp/filter.cpp
dsp/detect.cpp
dsp/ms.cpp
dsp/harness.cpp
fft_plan.cpp
fft_stage.cpp
twiddle_builder.cpp
fft.cpp
spectral.cpp
filter.cpp
detect.cpp
twin.cpp
phase_table.cpp
)
add_executable(soothe2_harness harness.cpp)
add_executable(twin_check twin_check.cpp)
target_link_libraries(twin_check soothe2_dsp)
target_link_libraries(soothe2_harness soothe2_dsp)
target_include_directories(soothe2_dsp PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(soothe2_dsp Threads::Threads)