forked from openBliSSART/openBliSSART
-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
123 lines (115 loc) · 3.85 KB
/
CMakeLists.txt
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
cmake_minimum_required(VERSION 2.8.4)
#set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/modules")
PROJECT(Bliss)
set(Bliss_SOURCES
./src/LibAudio/audio.cpp
./src/LibAudio/AudioData.cpp
./src/LibAudio/MelFilter.cpp
./src/LibAudio/Sound.cpp
./src/LibAudio/WaveEncoder.cpp
./src/LibFeature/mfcc.cpp
./src/LibFeature/misc.cpp
./src/LibFeature/peak.cpp
./src/LibFramework/AnovaFeatureSelector.cpp
./src/LibFramework/AudioObject.cpp
./src/LibFramework/BasicApplication.cpp
./src/LibFramework/BasicTask.cpp
./src/LibFramework/ClassificationObject.cpp
./src/LibFramework/ClassificationTask.cpp
./src/LibFramework/CleanupTask.cpp
./src/LibFramework/CorrelationFeatureSelector.cpp
./src/LibFramework/CrossValidator.cpp
./src/LibFramework/DatabaseEntity.cpp
./src/LibFramework/DatabaseSubsystem.cpp
./src/LibFramework/DataDescriptor.cpp
./src/LibFramework/DataSet.cpp
./src/LibFramework/exportDataSet.cpp
./src/LibFramework/Feature.cpp
./src/LibFramework/FeatureDescriptor.cpp
./src/LibFramework/FeatureExtractionTask.cpp
./src/LibFramework/FeatureExtractor.cpp
./src/LibFramework/FeatureSelector.cpp
./src/LibFramework/FeatureSet.cpp
./src/LibFramework/FTTask.cpp
./src/LibFramework/GnuplotWriter.cpp
./src/LibFramework/HTKWriter.cpp
./src/LibFramework/Label.cpp
./src/LibFramework/libsvm/svm.cpp
./src/LibFramework/MatrixTransform.cpp
./src/LibFramework/MelFilterTransform.cpp
./src/LibFramework/NMDTask.cpp
./src/LibFramework/PowerTransform.cpp
./src/LibFramework/Process.cpp
./src/LibFramework/ProgressInterface.cpp
./src/LibFramework/QueuedTaskManager.cpp
./src/LibFramework/Response.cpp
./src/LibFramework/SeparationTask.cpp
./src/LibFramework/SlidingWindowTransform.cpp
./src/LibFramework/SpectralSubtractionTransform.cpp
./src/LibFramework/StorageSubsystem.cpp
./src/LibFramework/SVMModel.cpp
./src/LibFramework/TargetedDeconvolver.cpp
./src/LibFramework/ThreadedApplication.cpp
./src/LibFramework/WindowFunctions.cpp
./src/LibICA/FastICA.cpp
./src/LibICA/PCA.cpp
./src/LibLinAlg/ColVector.cpp
#./src/LibLinAlg/GPUMatrix.cpp
#./src/LibLinAlg/GPUUtil.cpp
./src/LibLinAlg/Matrix.cpp
./src/LibLinAlg/RowVector.cpp
./src/LibLinAlg/Vector.cpp
./src/LibNMF/Deconvolver.cpp
./src/LibNMF/randomGenerator.cpp
)
include_directories(
${CMAKE_SOURCE_DIR}
./src/benchmark
./src/browser
./src/icatool
./src/include
./src/include/blissart
./src/include/blissart/audio
./src/include/blissart/feature
./src/include/blissart/ica
./src/include/blissart/linalg
./src/include/blissart/nmf
./src/include/blissart/transforms
./src/include/libsvm
./src/LibAudio
./src/LibFramework
/usr/local/include
)
add_library(bliss ${Bliss_SOURCES})
link_directories("/usr/local/lib")
add_executable(septool ./src/septool/main.cpp)
#set(link_flags "-L/usr/local/lib")
target_link_libraries(septool pthread bliss PocoFoundation PocoUtil PocoXML PocoData PocoSQLite SDLmain SDL SDL_sound fftw3)
add_executable(testSuite
./src/Testsuite/BinaryReaderWriterTest.cpp
./src/Testsuite/CNMFTest.cpp
./src/Testsuite/DatabaseSubsystemTest.cpp
./src/Testsuite/FeatureExtractionTest.cpp
./src/Testsuite/FeatureSelectionTest.cpp
./src/Testsuite/HTKWriterTest.cpp
# ./src/Testsuite/ICATest.cpp
./src/Testsuite/main.cpp
./src/Testsuite/MatrixTest.cpp
./src/Testsuite/MelFilterTest.cpp
./src/Testsuite/MFCCTest.cpp
./src/Testsuite/MinHeapTest.cpp
./src/Testsuite/MTrTest.cpp
./src/Testsuite/NMDTest.cpp
./src/Testsuite/NMFTest.cpp
./src/Testsuite/PCATest.cpp
./src/Testsuite/ScalingTest.cpp
./src/Testsuite/SNMFTest.cpp
./src/Testsuite/SpectralAnalysisTest.cpp
./src/Testsuite/StorageSubsystemTest.cpp
./src/Testsuite/SVMModelTest.cpp
./src/Testsuite/TaskDepsTest.cpp
./src/Testsuite/Testable.cpp
./src/Testsuite/VectorTest.cpp
./src/Testsuite/WaveTest.cpp
)
target_link_libraries(testSuite pthread PocoFoundation PocoUtil PocoXML PocoData PocoSQLite SDLmain SDL SDL_sound fftw3 bliss)