some fixes to get it properly compiled with the new merged variables
[mldemos:mldemos.git] / _3rdParty / 3rdParty.pro
1 ###########################
2 # Configuration           #
3 ###########################
4 TEMPLATE = lib
5 NAME = 3rdParty
6 MLPATH =..
7 CONFIG += mainApp static
8
9 # disable some warnings for 3rd party libraries (not our problem if they do funky stuff in their libraries)
10
11 win32-g++|macx|unix{
12     QMAKE_CXXFLAGS_WARN_ON = ""
13     QMAKE_CXXFLAGS = -Wno-all
14     #QMAKE_CXXFLAGS += -Wno-endif-labels
15     QMAKE_CXXFLAGS += -Wno-unused-variable
16     QMAKE_CXXFLAGS += -Wno-unused-parameter
17     #QMAKE_CXXFLAGS += -Wno-switch
18     QMAKE_CXXFLAGS += -Wtrigraphs
19     QMAKE_CXXFLAGS += -Wreturn-type
20     #QMAKE_CXXFLAGS += -Wnon-virtual-dtor
21     #QMAKE_CXXFLAGS += -Woverloaded-virtual
22     #QMAKE_CXXFLAGS += -Wunused-variable
23     #QMAKE_CXXFLAGS += -Wunused-value
24     QMAKE_CXXFLAGS += -Wunknown-pragmas
25     QMAKE_CXXFLAGS += -Wno-shadow
26     QMAKE_CXXFLAGS += -Wno-deprecated-declarations
27     QMAKE_CXXFLAGS += -Wno-missing-braces
28 }
29 include($$MLPATH/MLDemos_variables.pri)
30
31
32 win32{
33         DESTDIR = ../_3rdParty
34 }
35 ###########################
36 # Files                   #
37 ###########################
38 HEADERS +=      \
39         fgmm/em.h \
40         fgmm/fgmm++.hpp \
41         fgmm/fgmm.h \
42         fgmm/gaussian.h \
43         fgmm/regression.h \
44         fgmm/smat.h
45
46 SOURCES += \
47         fgmm/em.cpp \
48         fgmm/gaussian.cpp \
49         fgmm/gmm.cpp \
50         fgmm/gmmregression.cpp \
51         fgmm/smat.cpp \
52         fgmm/update.cpp
53
54 HEADERS +=      \
55         MathLib/Differentiator.h \
56         MathLib/GradientDescent.h \
57         MathLib/IKGroupSolver.h \
58         MathLib/IKSubSolver.h \
59         MathLib/Macros.h \
60         MathLib/MathLib.h \
61         MathLib/MathLibCommon.h \
62         MathLib/Matrix.h \
63         MathLib/Matrix3.h \
64         MathLib/Matrix4.h \
65         MathLib/ReferenceFrame.h \
66         MathLib/Regression.h \
67         MathLib/SpatialForce.h \
68         MathLib/SpatialFrame.h \
69         MathLib/SpatialInertia.h \
70         MathLib/SpatialMatrix.h \
71         MathLib/SpatialVector.h \
72         MathLib/SpatialVelocity.h \
73         MathLib/TMatrix.h \
74         MathLib/TVector.h \
75         MathLib/Vector.h \
76         MathLib/Vector3.h
77
78 SOURCES += \
79         MathLib/Differentiator.cpp \
80         MathLib/GradientDescent.cpp \
81         MathLib/IKGroupSolver.cpp \
82         MathLib/IKSubSolver.cpp \
83         MathLib/Macros.cpp \
84         MathLib/MathLib.cpp \
85         MathLib/MathLibCommon.cpp \
86         MathLib/Matrix.cpp \
87         MathLib/Matrix3.cpp \
88         MathLib/Matrix4.cpp \
89         MathLib/ReferenceFrame.cpp \
90         MathLib/Regression.cpp \
91         MathLib/SpatialForce.cpp \
92         MathLib/SpatialFrame.cpp \
93         MathLib/SpatialInertia.cpp \
94         MathLib/SpatialMatrix.cpp \
95         MathLib/SpatialVector.cpp \
96         MathLib/SpatialVelocity.cpp \
97         MathLib/TMatrix.cpp \
98         MathLib/TVector.cpp \
99         MathLib/Vector.cpp \
100         MathLib/Vector3.cpp
101
102 HEADERS += \
103         PSO/pso.h \
104         PSO/memoryAllocation.h \
105         PSO/optimizer.h
106
107 SOURCES += \
108         PSO/pso.cpp \
109         PSO/memoryAllocation.cpp \
110         PSO/optimizer.cpp
111
112 HEADERS +=      \
113         newmat11/controlw.h \
114         newmat11/include.h \
115         newmat11/myexcept.h \
116         newmat11/newmat.h \
117         newmat11/newmatap.h \
118         newmat11/newmatio.h \
119         newmat11/newmatnl.h \
120         newmat11/newmatrc.h \
121         newmat11/newmatrm.h \
122         newmat11/precisio.h \
123         newmat11/solution.h
124
125 SOURCES += \
126         newmat11/bandmat.cpp \
127         newmat11/cholesky.cpp \
128         newmat11/evalue.cpp \
129         newmat11/fft.cpp \
130         newmat11/hholder.cpp \
131         newmat11/jacobi.cpp \
132         newmat11/myexcept.cpp \
133         newmat11/newfft.cpp \
134         newmat11/newmat1.cpp \
135         newmat11/newmat2.cpp \
136         newmat11/newmat3.cpp \
137         newmat11/newmat4.cpp \
138         newmat11/newmat5.cpp \
139         newmat11/newmat6.cpp \
140         newmat11/newmat7.cpp \
141         newmat11/newmat8.cpp \
142         newmat11/newmat9.cpp \
143         newmat11/newmatex.cpp \
144         newmat11/newmatnl.cpp \
145         newmat11/newmatrm.cpp \
146         newmat11/nm_misc.cpp \
147         newmat11/solution.cpp \
148         newmat11/sort.cpp \
149         newmat11/submat.cpp \
150         newmat11/svd.cpp
151
152 HEADERS += \
153         lwpr/lwpr.h \
154         lwpr/lwpr.hh \
155         lwpr/lwpr_aux.h \
156         lwpr/lwpr_binio.h \
157         lwpr/lwpr_config.h \
158         lwpr/lwpr_config_def.h \
159         lwpr/lwpr_math.h \
160         lwpr/lwpr_mem.h \
161         lwpr/lwpr_xml.h
162
163 SOURCES +=  \
164         lwpr/lwpr.c \
165         lwpr/lwpr_aux.c \
166         lwpr/lwpr_binio.c \
167         lwpr/lwpr_math.c \
168         lwpr/lwpr_mem.c \
169         lwpr/lwpr_xml.c
170
171 HEADERS +=      JnS/Matutil.h \
172                         JnS/JnS.h
173 SOURCES +=      JnS/Matutil.cpp \
174                         JnS/JnS.cpp
175 HEADERS +=      liblinear/linear.h \
176                         liblinear/tron.h \
177                         liblinear/blasp.h \
178                         liblinear/blas.h
179 SOURCES +=      liblinear/linear.cpp \
180                         liblinear/tron.cpp \
181                         liblinear/daxpy.c \
182                         liblinear/ddot.c \
183                         liblinear/dnrm2.c \
184                         liblinear/dscal.c
185
186 HEADERS += ANN/ANN.h \
187         ANN/ANNperf.h \
188         ANN/ANNx.h \
189         ANN/bd_tree.h \
190         ANN/kd_fix_rad_search.h \
191         ANN/kd_pr_search.h \
192         ANN/kd_search.h \
193         ANN/kd_split.h \
194         ANN/kd_tree.h \
195         ANN/kd_util.h \
196         ANN/pr_queue.h \
197         ANN/pr_queue_k.h
198
199 SOURCES += ANN/ANN.cpp \
200         ANN/bd_fix_rad_search.cpp \
201         ANN/bd_pr_search.cpp \
202         ANN/bd_search.cpp \
203         ANN/bd_tree.cpp \
204         ANN/brute.cpp \
205         ANN/kd_dump.cpp \
206         ANN/kd_fix_rad_search.cpp \
207         ANN/kd_pr_search.cpp \
208         ANN/kd_search.cpp \
209         ANN/kd_split.cpp \
210         ANN/kd_tree.cpp \
211         ANN/kd_util.cpp \
212         ANN/perf.cpp
213
214 HEADERS +=      \
215         dlib/algs.h \
216         dlib/array.h \
217         dlib/array2d.h \
218         dlib/assert.h \
219         dlib/base64.h \
220         dlib/bayes_utils.h \
221         dlib/bigint.h \
222         dlib/binary_search_tree.h \
223         dlib/bit_stream.h \
224         dlib/bound_function_pointer.h \
225         dlib/byte_orderer.h \
226         dlib/cmd_line_parser.h \
227         dlib/compress_stream.h \
228         dlib/conditioning_class.h \
229         dlib/config_reader.h \
230         dlib/cpp_pretty_printer.h \
231         dlib/cpp_tokenizer.h \
232         dlib/crc32.h \
233         dlib/data_io.h \
234         dlib/dir_nav.h \
235         dlib/directed_graph.h \
236         dlib/enable_if.h \
237         dlib/entropy_decoder.h \
238         dlib/entropy_decoder_model.h \
239         dlib/entropy_encoder.h \
240         dlib/entropy_encoder_model.h \
241         dlib/error.h \
242         dlib/geometry.h \
243         dlib/graph.h \
244         dlib/graph_utils.h \
245         dlib/gui_core.h \
246         dlib/gui_widgets.h \
247         dlib/hash_map.h \
248         dlib/hash_set.h \
249         dlib/hash_table.h \
250         dlib/image_io.h \
251         dlib/image_keypoint.h \
252         dlib/image_transforms.h \
253         dlib/is_kind.h \
254         dlib/linker.h \
255         dlib/logger.h \
256         dlib/lz77_buffer.h \
257         dlib/lzp_buffer.h \
258         dlib/manifold_regularization.h \
259         dlib/map.h \
260         dlib/matrix.h \
261         dlib/md5.h \
262         dlib/member_function_pointer.h \
263         dlib/memory_manager.h \
264         dlib/memory_manager_global.h \
265         dlib/memory_manager_stateless.h \
266         dlib/misc_api.h \
267         dlib/mlp.h \
268         dlib/noncopyable.h \
269         dlib/opencv.h \
270         dlib/optimization.h \
271         dlib/pipe.h \
272         dlib/pixel.h \
273         dlib/platform.h \
274         dlib/quantum_computing.h \
275         dlib/queue.h \
276         dlib/rand.h \
277         dlib/ref.h \
278         dlib/reference_counter.h \
279         dlib/revision.h \
280         dlib/sequence.h \
281         dlib/serialize.h \
282         dlib/server.h \
283         dlib/set.h \
284         dlib/set_utils.h \
285         dlib/sliding_buffer.h \
286         dlib/smart_pointers.h \
287         dlib/smart_pointers_thread_safe.h \
288         dlib/sockets.h \
289         dlib/sockstreambuf.h \
290         dlib/sort.h \
291         dlib/stack.h \
292         dlib/stack_trace.h \
293         dlib/static_map.h \
294         dlib/static_set.h \
295         dlib/statistics.h \
296         dlib/std_allocator.h \
297         dlib/stl_checked.h \
298         dlib/string.h \
299         dlib/svm.h \
300         dlib/svm_threaded.h \
301         dlib/sync_extension.h \
302         dlib/threads.h \
303         dlib/time_this.h \
304         dlib/timeout.h \
305         dlib/timer.h \
306         dlib/tokenizer.h \
307         dlib/tuple.h \
308         dlib/type_safe_union.h \
309         dlib/uintn.h \
310         dlib/unicode.h \
311         dlib/windows_magic.h \
312         dlib/xml_parser.h \
313
314 HEADERS +=      \
315         nlopt.hpp \
316         nlopt/tools.h \
317         nlopt/stogo_config.h \
318         nlopt/stogo.h \
319         nlopt/soboldata.h \
320         nlopt/slsqp.h \
321         nlopt/redblack.h \
322         nlopt/praxis.h \
323         nlopt/nlopt-util.h \
324         nlopt/nlopt-internal.h \
325         nlopt/nlopt-in.hpp \
326         nlopt/nlopt_optimize_usage.h \
327         nlopt/nlopt.hpp \
328         nlopt/nlopt.h \
329         nlopt/newuoa.h \
330         nlopt/neldermead.h \
331         nlopt/mma.h \
332         nlopt/mlsl.h \
333         nlopt/luksan.h \
334         nlopt/local.h \
335         nlopt/linalg.h \
336         nlopt/isres.h \
337         nlopt/global.h \
338         nlopt/f77funcs_.h \
339         nlopt/f77funcs.h \
340         nlopt/direct-internal.h \
341         nlopt/direct.h \
342         nlopt/crs.h \
343         nlopt/cobyla.h \
344         nlopt/cdirect.h \
345         nlopt/bobyqa.h \
346         nlopt/auglag.h \
347         nlopt/config.h
348
349 SOURCES +=      \
350         nlopt/tools.cc \
351         nlopt/timer.c \
352         nlopt/stop.c \
353         nlopt/stogo.cc \
354         nlopt/sobolseq.c \
355         nlopt/slsqp.c \
356         nlopt/sbplx.c \
357         nlopt/rescale.c \
358         nlopt/redblack.c \
359         nlopt/qsort_r.c \
360         nlopt/pssubs.c \
361         nlopt/praxis.c \
362         nlopt/pnet.c \
363         nlopt/plis.c \
364         nlopt/plip.c \
365         nlopt/options.c \
366         nlopt/optimize.c \
367         nlopt/nldrmd.c \
368         nlopt/newuoa.c \
369         nlopt/mt19937ar.c \
370         nlopt/mssubs.c \
371         nlopt/mma.c \
372         nlopt/mlsl.c \
373         nlopt/local.cc \
374         nlopt/linalg.cc \
375         nlopt/isres.c \
376         nlopt/hybrid.c \
377         nlopt/global.cc \
378         nlopt/general.c \
379         nlopt/f77api.c \
380         nlopt/DIRsubrout.c \
381         nlopt/DIRserial.c \
382         nlopt/direct_wrap.c \
383         nlopt/DIRect.c \
384         nlopt/deprecated.c \
385         nlopt/crs.c \
386         nlopt/cobyla.c \
387         nlopt/cdirect.c \
388         nlopt/bobyqa.c \
389         nlopt/auglag.c
390
391 HEADERS += \
392         LAMP_HMM/discreteObsProb.h \
393         LAMP_HMM/explicitDurationTrans.h \
394         LAMP_HMM/gammaProb.h \
395         LAMP_HMM/gaussianObsProb.h \
396         LAMP_HMM/hmm.h \
397         LAMP_HMM/initStateProb.h \
398         LAMP_HMM/obs.h \
399         LAMP_HMM/obsProb.h \
400         LAMP_HMM/obsSeq.h \
401         LAMP_HMM/plainStateTrans.h \
402         LAMP_HMM/stateTrans.h \
403         LAMP_HMM/utils.h \
404         LAMP_HMM/vectorObsProb.h
405
406 SOURCES += \
407         LAMP_HMM/checkDurationDist.cpp \
408         LAMP_HMM/discreteObsProb.cpp \
409         LAMP_HMM/explicitDurationTrans.cpp \
410         LAMP_HMM/gammaProb.cpp \
411         LAMP_HMM/gaussianObsProb.cpp \
412         LAMP_HMM/hmm.cpp \
413         LAMP_HMM/hmmFind.cpp \
414         LAMP_HMM/initStateProb.cpp \
415         LAMP_HMM/obsSeq.cpp \
416         LAMP_HMM/plainStateTrans.cpp \
417         LAMP_HMM/readConfigFile.cpp \
418         LAMP_HMM/utils.cpp \
419         LAMP_HMM/vectorObsProb.cpp
420
421
422
423 #unix{
424 #       BOOST = /usr/local/boost_1_47_0
425 #}else{
426 #       BOOST = E:/DEV/boost_1_47_0
427 #}
428 #INCLUDEPATH += $$BOOST
429
430 #HEADERS += \
431 #       HMMlib/allocator_traits.hpp \
432 #       HMMlib/float_traits.hpp \
433 #       HMMlib/hmm_matrix.hpp \
434 #       HMMlib/hmm_table.hpp \
435 #       HMMlib/hmm_vector.hpp \
436 #       HMMlib/hmm.hpp \
437 #       HMMlib/operator_traits.hpp \
438 #       HMMlib/sse_operator_traits.hpp
439
440 #SOURCES += \
441 #       HMMlib/hmm_matrix_test.cpp \
442 #       HMMlib/hmm_test.cpp \
443 #       HMMlib/hmm_vector_test.cpp