blob: ad0e1516b7f5662e95458001df6dbcf7080ed2d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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)
|