Revision 208, 1.4 kB
(checked in by nemcova, 16 years ago)
|
oprava CMakeu pro rozliseni debug-release (VS)
|
-
Property svn:eol-style set to
native
|
Line | |
---|
1 | # Make sure the compiler can find include files from our Bdm library. |
---|
2 | include_directories (${BDM_SOURCE_DIR}/bdm) |
---|
3 | |
---|
4 | # Make sure the linker can find the Hello library once it is built. |
---|
5 | link_directories (${BDM_BINARY_DIR}/bdm) |
---|
6 | |
---|
7 | ## Save all needed libraries in variable BdmLibs |
---|
8 | #SET(BdmLibs bdm itpp_debug) |
---|
9 | #SET(BdmLibs bdm itpp) |
---|
10 | #SET(ITppLibs itpp_debug) |
---|
11 | |
---|
12 | IF(WIN32) |
---|
13 | SET(AddLib libacml_dll) |
---|
14 | ENDIF(WIN32) |
---|
15 | |
---|
16 | # Define macro for testing a file |
---|
17 | MACRO(TEST FN) |
---|
18 | add_executable (${FN} ${FN}.cpp) |
---|
19 | target_link_libraries (${FN} debug itpp_debug) |
---|
20 | target_link_libraries (${FN} optimized itpp) |
---|
21 | target_link_libraries (${FN} bdm ${AddLib}) |
---|
22 | ENDMACRO(TEST) |
---|
23 | |
---|
24 | # Add executable called "helloDemo" that is built from the source files |
---|
25 | # "demo.cxx" and "demo_b.cxx". The extensions are automatically found. |
---|
26 | |
---|
27 | # BASIC TESTS |
---|
28 | TEST(rv_test) |
---|
29 | TEST(datalink_test) |
---|
30 | TEST(loggers_test) |
---|
31 | |
---|
32 | TEST(chmat_test) |
---|
33 | TEST(ldmat_test) |
---|
34 | TEST(fsqmat_test) |
---|
35 | TEST(enorm_test) |
---|
36 | TEST(egiw_test) |
---|
37 | TEST(emix_test) |
---|
38 | TEST(test0) |
---|
39 | TEST(testResample) |
---|
40 | |
---|
41 | # ESTIM TESTS |
---|
42 | TEST(arx_test) |
---|
43 | TEST(arx_elem_test) |
---|
44 | TEST(merger_test) |
---|
45 | TEST(merger_2d_test) |
---|
46 | TEST(merger_iter_test) |
---|
47 | TEST(mixef_test) |
---|
48 | |
---|
49 | TEST(testKF) |
---|
50 | TEST(testPF) |
---|
51 | TEST(testSmp) |
---|
52 | TEST(testEpdf) |
---|
53 | TEST(testKF_QR) |
---|
54 | TEST(testKF_QRexh) |
---|
55 | |
---|
56 | add_executable(blas_test blas_test.cpp) |
---|
57 | target_link_libraries (blas_test debug itpp_debug) |
---|
58 | target_link_libraries (blas_test optimized itpp) |
---|
59 | target_link_libraries (blas_test ${AddLib}) |
---|
60 | |
---|
61 | SET(AddLib ${AddLib} ${XERCES_LIBRARIES}) |
---|
62 | TEST(testUI) |
---|