root/tests/CMakeLists.txt @ 125

Revision 125, 2.3 kB (checked in by smidl, 16 years ago)

drobnosti...

  • Property svn:eol-style set to native
Line 
1# Make sure the compiler can find include files from our Bdm library.
2include_directories (${BDM_SOURCE_DIR}/bdm)
3
4# Make sure the linker can find the Hello library once it is built.
5link_directories (${BDM_BINARY_DIR}/bdm)
6
7## Save all needed libraries in variable BdmLibs
8#SET(BdmLibs bdm itpp_debug)
9SET(BdmLibs bdm itpp)
10
11IF(WIN32)
12        SET(BdmLibs ${BdmLibs} libacml_dll)
13ENDIF(WIN32)
14
15# Add executable called "helloDemo" that is built from the source files
16# "demo.cxx" and "demo_b.cxx".  The extensions are automatically found.
17add_executable (chmat_test chmat_test.cpp)
18target_link_libraries (chmat_test ${BdmLibs})
19
20add_executable (ldmat_test ldmat_test.cpp)
21target_link_libraries (ldmat_test ${BdmLibs})
22
23add_executable (fsqmat_test fsqmat_test.cpp)
24target_link_libraries (fsqmat_test ${BdmLibs})
25
26add_executable (arx_test arx_test.cpp)
27target_link_libraries (arx_test ${BdmLibs})
28
29add_executable (loggers_test loggers_test.cpp)
30target_link_libraries (loggers_test ${BdmLibs})
31
32add_executable (blas_test blas_test.cpp)
33target_link_libraries (blas_test ${BdmLibs})
34
35add_executable (test0 test0.cpp)
36add_executable (testKF testKF.cpp)
37add_executable (testPF testPF.cpp)
38add_executable (testSmp testSmp.cpp)
39add_executable (testEpdf testEpdf.cpp)
40add_executable (testResample testResample.cpp)
41add_executable (testKF_QR testKF_QR.cpp)
42add_executable (testKF_QRexh testKF_QRexh.cpp)
43add_executable (testUI testUI.cpp)
44
45
46# Link the executable to the Hello library.
47target_link_libraries (test0 ${BdmLibs})
48target_link_libraries (testKF ${BdmLibs})
49target_link_libraries (testPF ${BdmLibs})
50target_link_libraries (testSmp ${BdmLibs})
51target_link_libraries (testEpdf ${BdmLibs})
52target_link_libraries (testResample ${BdmLibs})
53target_link_libraries (testKF_QR ${BdmLibs})
54target_link_libraries (testKF_QRexh ${BdmLibs})
55target_link_libraries (testUI ${BdmLibs} ${XERCES_LIBRARIES})
56
57
58# experimental lines building an XSD's hello example
59
60add_executable (test_xsd_hello test_xsd_hello.cxx hello-pskel.hxx hello-pskel.cxx)
61target_link_libraries (test_xsd_hello ${BdmLibs} ${XERCES_LIBRARIES} )
62SET(XSD_ARGS "cxx-parser")
63ADD_CUSTOM_COMMAND(
64   OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/hello-pskel.hxx ${CMAKE_CURRENT_BINARY_DIR}/hello-pskel.cxx
65   COMMAND ${XSD_EXECUTABLE}
66   ARGS ${XSD_ARGS} ${CMAKE_CURRENT_SOURCE_DIR}/hello.xsd
67   MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/hello.xsd
68)
69
Note: See TracBrowser for help on using the browser.