root/tests/CMakeLists.txt @ 34

Revision 33, 1.5 kB (checked in by smidl, 17 years ago)

Oprava PF a MPF + jejich implementace pro pmsm system

  • 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        IF(ITPP_INCLUDE_DIR)
13                include_directories(${ITPP_INCLUDE_DIR})
14        ENDIF(ITPP_INCLUDE_DIR)
15        IF(ITPP_LIB_DIR)
16                link_directories(${ITPP_LIB_DIR})
17        ENDIF(ITPP_LIB_DIR)
18ENDIF(WIN32)
19
20# Add executable called "helloDemo" that is built from the source files
21# "demo.cxx" and "demo_b.cxx".  The extensions are automatically found.
22add_executable (test0 test0.cpp)
23add_executable (testKF testKF.cpp)
24add_executable (testPF testPF.cpp)
25add_executable (testSmp testSmp.cpp)
26add_executable (testEpdf testEpdf.cpp)
27add_executable (testResample testResample.cpp)
28add_executable (testKF_QR testKF_QR.cpp)
29add_executable (testKF_QRexh testKF_QRexh.cpp)
30add_executable (pmsm_unkQ pmsm_unkQ.cpp)
31add_executable (pmsm_unkQpf pmsm_unkQpf.cpp)
32
33# Link the executable to the Hello library.
34target_link_libraries (test0 ${BdmLibs})
35target_link_libraries (testKF ${BdmLibs})
36target_link_libraries (testPF ${BdmLibs})
37target_link_libraries (testSmp ${BdmLibs})
38target_link_libraries (testEpdf ${BdmLibs})
39target_link_libraries (testResample ${BdmLibs})
40target_link_libraries (testKF_QR ${BdmLibs})
41target_link_libraries (testKF_QRexh ${BdmLibs})
42target_link_libraries (pmsm_unkQ ${BdmLibs})
43target_link_libraries (pmsm_unkQpf ${BdmLibs})
Note: See TracBrowser for help on using the browser.