Revision 247, 1.1 kB
(checked in by smidl, 16 years ago)
|
cmake fixes for opensuse
|
-
Property svn:eol-style set to
native
|
Rev | Line | |
---|
[20] | 1 | # Make sure the compiler can find include files from our Bdm library. |
---|
[19] | 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 | |
---|
[247] | 7 | # Define macro for testing a file |
---|
| 8 | MACRO(TEST FN) |
---|
| 9 | add_executable (${FN} ${FN}.cpp) |
---|
| 10 | target_link_libraries (${FN} debug itpp_debug) |
---|
| 11 | target_link_libraries (${FN} optimized itpp) |
---|
| 12 | target_link_libraries (${FN} bdm ${AddLib}) |
---|
| 13 | ENDMACRO(TEST) |
---|
| 14 | |
---|
[19] | 15 | # Add executable called "helloDemo" that is built from the source files |
---|
| 16 | # "demo.cxx" and "demo_b.cxx". The extensions are automatically found. |
---|
[182] | 17 | |
---|
[222] | 18 | # BASIC EXECS |
---|
| 19 | EXEC(rv_test) |
---|
| 20 | EXEC(datalink_test) |
---|
| 21 | EXEC(loggers_test) |
---|
[182] | 22 | |
---|
[222] | 23 | EXEC(chmat_test) |
---|
| 24 | EXEC(ldmat_test) |
---|
| 25 | EXEC(fsqmat_test) |
---|
| 26 | EXEC(enorm_test) |
---|
| 27 | EXEC(egiw_test) |
---|
| 28 | EXEC(emix_test) |
---|
| 29 | EXEC(test0) |
---|
| 30 | EXEC(testResample) |
---|
[182] | 31 | |
---|
[222] | 32 | # ESTIM EXECS |
---|
| 33 | EXEC(arx_test) |
---|
| 34 | EXEC(arx_elem_test) |
---|
| 35 | EXEC(merger_test) |
---|
| 36 | EXEC(merger_2d_test) |
---|
| 37 | EXEC(merger_iter_test) |
---|
| 38 | EXEC(mixef_test) |
---|
[182] | 39 | |
---|
[222] | 40 | EXEC(testKF) |
---|
| 41 | EXEC(testPF) |
---|
| 42 | EXEC(testSmp) |
---|
| 43 | EXEC(testEpdf) |
---|
| 44 | EXEC(testKF_QR) |
---|
| 45 | EXEC(testKF_QRexh) |
---|
[82] | 46 | |
---|
[222] | 47 | EXEC(blas_test) |
---|
[125] | 48 | |
---|
[235] | 49 | IF(${XERCES_FOUND}) |
---|
[247] | 50 | EXEC(testUI) |
---|
| 51 | target_link_libraries (testUI ${XERCES_LIBRARIES}) |
---|
[235] | 52 | ENDIF(${XERCES_FOUND}) |
---|