summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt18
1 files changed, 12 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 97767ba..938cc0b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,24 +5,28 @@ FILE(GLOB simpl_src src/simpl/*.cpp)
FILE(GLOB sms_src src/sms/*.c)
FILE(GLOB sndobj_src src/sndobj/*.cpp)
FILE(GLOB loris_src src/loris/*.C)
+FILE(GLOB mq_src src/mq/*.cpp)
LIST(APPEND source_files ${simpl_src}
${sndobj_src}
${sms_src}
- ${loris_src})
+ ${loris_src}
+ ${mq_src})
FILE(GLOB simpl_include src/simpl/*.h)
set(sms_include src/sms/sms.h)
FILE(GLOB sndobj_include src/sndobj/*.h)
FILE(GLOB loris_include src/loris/*.h)
+FILE(GLOB mq_include src/mq/*.h)
LIST(APPEND include_files ${simpl_include}
${sms_include}
${sndobj_include}
- ${loris_include})
+ ${loris_include}
+ ${mq_include})
add_definitions(-DHAVE_FFTW3_H)
set(libs m fftw3 gsl gslcblas)
-include_directories(src/simpl src/sms src/sndobj src/sndobj/rfftw src/loris)
+include_directories(src/simpl src/sms src/sndobj src/loris src/mq)
add_library(simpl SHARED ${source_files})
target_link_libraries(simpl ${libs})
@@ -36,8 +40,10 @@ install(FILES ${include_files} DESTINATION include/simpl)
# ----------------------------------------------------------------------------
if(BUILD_TESTS)
set(test_base_src ${source_files} tests/test_base.cpp)
- set(test_peak_detection_src ${source_files} tests/test_peak_detection.cpp)
- set(test_partial_tracking_src ${source_files} tests/test_partial_tracking.cpp)
+ set(test_peak_detection_src ${source_files}
+ tests/test_peak_detection.cpp)
+ set(test_partial_tracking_src ${source_files}
+ tests/test_partial_tracking.cpp)
set(test_synthesis_src ${source_files} tests/test_synthesis.cpp)
LIST(APPEND libs cppunit sndfile)
@@ -52,5 +58,5 @@ if(BUILD_TESTS)
target_link_libraries(test_partial_tracking ${libs})
target_link_libraries(test_synthesis ${libs})
else()
- message("-- Not building tests. To change run CMake with -D BUILD_TESTS=yes")
+ message("Not building tests. To change run CMake with -D BUILD_TESTS=yes")
endif()