root/tests/CMakeLists.txt @ 179

Revision 179, 1.2 kB (checked in by smidl, 16 years ago)

Tests of the new methods for emorm and mlnorm

  • 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
[169]8SET(BdmLibs bdm itpp_debug)
9#SET(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
[166]17# Define macro for testing a file
18MACRO(TEST FN)
19        add_executable (${FN} ${FN}.cpp)
20        target_link_libraries (${FN} ${BdmLibs})
21ENDMACRO(TEST)
22
[19]23# Add executable called "helloDemo" that is built from the source files
24# "demo.cxx" and "demo_b.cxx".  The extensions are automatically found.
[166]25TEST(chmat_test)
26TEST(ldmat_test)
27TEST(fsqmat_test)
28TEST(arx_test)
29TEST(loggers_test)
30TEST(rv_test)
31TEST(merger_test)
32TEST(mixef_test)
[179]33TEST(enorm_test)
[166]34TEST(egiw_test)
35TEST(test0)
36TEST(testKF)
37TEST(testPF)
38TEST(testSmp)
39TEST(testEpdf)
40TEST(testResample)
41TEST(testKF_QR)
42TEST(testKF_QRexh)
[82]43
[166]44add_executable(blas_test blas_test.cpp)
[144]45target_link_libraries (blas_test ${ITppLibs})
[125]46
[166]47add_executable(testUI testUI.cpp)
[143]48target_link_libraries (testUI ${BdmLibs} ${XERCES_LIBRARIES})
Note: See TracBrowser for help on using the browser.