root/pmsm/CMakeLists.txt @ 104

Revision 81, 1.4 kB (checked in by smidl, 17 years ago)

opravy + pridani simulace kovarianci

  • 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
7add_subdirectory (simulator_zdenek)
8add_subdirectory (simulator_zdenek/ekf_example)
9
10
11## Save all needed libraries in variable BdmLibs
12#SET(BdmLibs bdm itpp_debug)
13SET(BdmLibs bdm itpp)
14
15IF(WIN32)
16        SET(BdmLibs ${BdmLibs} libacml_dll)
17ENDIF(WIN32)
18
19# Add executable called "helloDemo" that is built from the source files
20# "demo.cxx" and "demo_b.cxx".  The extensions are automatically found.
21add_executable (pmsm_unkQ pmsm_unkQ.cpp)
22add_executable (pmsm_unkQpf pmsm_unkQpf.cpp)
23# Link the executable to the Hello library.
24target_link_libraries (pmsm_unkQ ${BdmLibs})
25target_link_libraries (pmsm_unkQpf ${BdmLibs})
26
27# PMSM stuff
28add_executable (testbidiff testbidiff.cpp)
29target_link_libraries (testbidiff ${BdmLibs})
30
31include_directories (./simulator_zdenek)
32link_directories (./simulator_zdenek)
33link_directories (./simulator_zdenek/ekf_example)
34add_executable (pmsm_sim pmsm_sim.cpp)
35add_executable (pmsm_sim2 pmsm_sim2.cpp)
36add_executable (pmsm_sim3 pmsm_sim3.cpp)
37target_link_libraries (pmsm_sim ${BdmLibs} pmsmsim )
38target_link_libraries (pmsm_sim2 ${BdmLibs} pmsmsim )
39target_link_libraries (pmsm_sim3 ${BdmLibs} pmsmsim ekf_obj)
40
41add_executable (sim_var sim_var.cpp)
42target_link_libraries (sim_var ${BdmLibs} pmsmsim)
Note: See TracBrowser for help on using the browser.