root/tests/CMakeLists.txt @ 62

Revision 62, 2.0 kB (checked in by smidl, 16 years ago)

nova simulace s EKFfixed a novy EKF na plnych maticich

  • 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 (test0 test0.cpp)
18add_executable (testKF testKF.cpp)
19add_executable (testPF testPF.cpp)
20add_executable (testSmp testSmp.cpp)
21add_executable (testEpdf testEpdf.cpp)
22add_executable (testResample testResample.cpp)
23add_executable (testKF_QR testKF_QR.cpp)
24add_executable (testKF_QRexh testKF_QRexh.cpp)
25add_executable (pmsm_unkQ pmsm_unkQ.cpp)
26add_executable (pmsm_unkQpf pmsm_unkQpf.cpp)
27
28
29# Link the executable to the Hello library.
30target_link_libraries (test0 ${BdmLibs})
31target_link_libraries (testKF ${BdmLibs})
32target_link_libraries (testPF ${BdmLibs})
33target_link_libraries (testSmp ${BdmLibs})
34target_link_libraries (testEpdf ${BdmLibs})
35target_link_libraries (testResample ${BdmLibs})
36target_link_libraries (testKF_QR ${BdmLibs})
37target_link_libraries (testKF_QRexh ${BdmLibs})
38target_link_libraries (pmsm_unkQ ${BdmLibs})
39target_link_libraries (pmsm_unkQpf ${BdmLibs})
40
41# PMSM stuff
42add_executable (testbidiff testbidiff.cpp)
43target_link_libraries (testbidiff ${BdmLibs})
44
45include_directories (${BDM_SOURCE_DIR}/simulator_zdenek)
46link_directories (${BDM_BINARY_DIR}/simulator_zdenek)
47link_directories (${BDM_BINARY_DIR}/simulator_zdenek/ekf_example)
48add_executable (pmsm_sim pmsm_sim.cpp)
49add_executable (pmsm_sim2 pmsm_sim2.cpp)
50add_executable (pmsm_sim3 pmsm_sim3.cpp)
51target_link_libraries (pmsm_sim ${BdmLibs} pmsmsim netcdf_c++)
52target_link_libraries (pmsm_sim2 ${BdmLibs} pmsmsim netcdf_c++)
53target_link_libraries (pmsm_sim3 ${BdmLibs} pmsmsim ekf_obj)
Note: See TracBrowser for help on using the browser.