root/tests/CMakeLists.txt @ 162

Revision 162, 2.6 kB (checked in by smidl, 16 years ago)

opravy a dokumentace

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