dsp: CMake - twin.cpp/phase_table.cpp в либу, executables harness+twin_check, фикс путей dsp/
This commit is contained in:
+14
-10
@@ -7,18 +7,22 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|||||||
find_package(Threads REQUIRED)
|
find_package(Threads REQUIRED)
|
||||||
|
|
||||||
add_library(soothe2_dsp SHARED
|
add_library(soothe2_dsp SHARED
|
||||||
dsp/fft_plan.cpp
|
fft_plan.cpp
|
||||||
dsp/fft_stage.cpp
|
fft_stage.cpp
|
||||||
dsp/cody_waite.cpp
|
twiddle_builder.cpp
|
||||||
dsp/twiddle_builder.cpp
|
fft.cpp
|
||||||
dsp/fft.cpp
|
spectral.cpp
|
||||||
dsp/spectral.cpp
|
filter.cpp
|
||||||
dsp/filter.cpp
|
detect.cpp
|
||||||
dsp/detect.cpp
|
twin.cpp
|
||||||
dsp/ms.cpp
|
phase_table.cpp
|
||||||
dsp/harness.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_include_directories(soothe2_dsp PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
|
|
||||||
target_link_libraries(soothe2_dsp Threads::Threads)
|
target_link_libraries(soothe2_dsp Threads::Threads)
|
||||||
|
|||||||
Reference in New Issue
Block a user