summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJohn Glover <j@johnglover.net>2012-07-20 17:46:30 +0100
committerJohn Glover <j@johnglover.net>2012-07-20 17:46:30 +0100
commit44387fc6606057393b5026ce0d2707a016037347 (patch)
tree17257ddebaf80ff102839738cafa5d22d5a01ba7 /CMakeLists.txt
parentc8eef2c4f0f9b22babc9aef9e0d4cef133475c9b (diff)
downloadsimpl-44387fc6606057393b5026ce0d2707a016037347.tar.gz
simpl-44387fc6606057393b5026ce0d2707a016037347.tar.bz2
simpl-44387fc6606057393b5026ce0d2707a016037347.zip
[peak_detection] Add C++ implementation of SndObj peak detection.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ad0e151..4b070df 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,7 +21,7 @@ set(source_files src/simpl/base.cpp
src/sms/peakContinuation.c
src/sms/peakDetection.c
src/sms/residual.c
- src//sms/sineSynth.c
+ src/sms/sineSynth.c
src/sms/sms.c
src/sms/sms.h
src/sms/soundIO.c
@@ -34,6 +34,10 @@ set(source_files src/simpl/base.cpp
src/sms/windows.c
)
+FILE(GLOB sndobj_src src/sndobj/*.cpp)
+FILE(GLOB rfftw_src src/sndobj/rfftw/*.c)
+LIST(APPEND source_files ${source_files} ${sndobj_src} ${rfftw_src})
+
set(include_files src/simpl/simpl.h
src/simpl/base.h
src/simpl/peak_detection.h
@@ -41,9 +45,10 @@ set(include_files src/simpl/simpl.h
src/simpl/synthesis.h
src/simpl/residual.h
src/sms/sms.h
+ src/sndobj/SndObj.h
)
-include_directories(src/simpl src/sms)
+include_directories(src/simpl src/sms src/sndobj src/sndobj/rfftw)
add_library(simpl SHARED ${source_files})
target_link_libraries(simpl m fftw3 gsl gslcblas)