diff options
author | John Glover <j@johnglover.net> | 2012-07-07 16:09:17 +0200 |
---|---|---|
committer | John Glover <j@johnglover.net> | 2012-07-07 16:09:17 +0200 |
commit | 9e57dd2eb604e1c613a531af804e3ea4f26cd962 (patch) | |
tree | 9461bb99e5a4bbd1f3a312f68990f5b2ff1cb4b5 /CMakeLists.txt | |
parent | a073fe5f065c24eb31e8bee34e3bdcd16a3d8416 (diff) | |
download | simpl-9e57dd2eb604e1c613a531af804e3ea4f26cd962.tar.gz simpl-9e57dd2eb604e1c613a531af804e3ea4f26cd962.tar.bz2 simpl-9e57dd2eb604e1c613a531af804e3ea4f26cd962.zip |
Add CMakeLists.txt so simpl can be build as dynamic library.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..ad0e151 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,51 @@ +cmake_minimum_required(VERSION 2.6) +project(simpl) + +set(source_files src/simpl/base.cpp + src/simpl/peak_detection.cpp + src/simpl/partial_tracking.cpp + src/simpl/synthesis.cpp + src/simpl/residual.cpp + src/sms/OOURA.c + src/sms/OOURA.h + src/sms/SFMT + src/sms/SFMT.c + src/sms/SFMT.h + src/sms/analysis.c + src/sms/cepstrum.c + src/sms/fileIO.c + src/sms/filters.c + src/sms/fixTracks.c + src/sms/harmDetection.c + src/sms/modify.c + src/sms/peakContinuation.c + src/sms/peakDetection.c + src/sms/residual.c + src//sms/sineSynth.c + src/sms/sms.c + src/sms/sms.h + src/sms/soundIO.c + src/sms/spectralApprox.c + src/sms/spectrum.c + src/sms/stocAnalysis.c + src/sms/synthesis.c + src/sms/tables.c + src/sms/transforms.c + src/sms/windows.c +) + +set(include_files src/simpl/simpl.h + src/simpl/base.h + src/simpl/peak_detection.h + src/simpl/partial_tracking.h + src/simpl/synthesis.h + src/simpl/residual.h + src/sms/sms.h +) + +include_directories(src/simpl src/sms) +add_library(simpl SHARED ${source_files}) +target_link_libraries(simpl m fftw3 gsl gslcblas) + +install(TARGETS simpl LIBRARY DESTINATION lib) +install(FILES ${include_files} DESTINATION include/simpl) |