Changeset 73
- Timestamp:
- 04/10/08 15:45:23 (17 years ago)
- Files:
-
- 3 modified
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r68 r73 51 51 add_subdirectory (bdm) 52 52 add_subdirectory (tests) 53 add_subdirectory (simulator_zdenek) 54 add_subdirectory (simulator_zdenek/ekf_example) 53 add_subdirectory (pmsm) -
pmsm/CMakeLists.txt
r72 r73 4 4 # Make sure the linker can find the Hello library once it is built. 5 5 link_directories (${BDM_BINARY_DIR}/bdm) 6 7 add_subdirectory (simulator_zdenek) 8 add_subdirectory (simulator_zdenek/ekf_example) 9 6 10 7 11 ## Save all needed libraries in variable BdmLibs … … 15 19 # Add executable called "helloDemo" that is built from the source files 16 20 # "demo.cxx" and "demo_b.cxx". The extensions are automatically found. 17 add_executable (test0 test0.cpp)18 add_executable (testKF testKF.cpp)19 add_executable (testPF testPF.cpp)20 add_executable (testSmp testSmp.cpp)21 add_executable (testEpdf testEpdf.cpp)22 add_executable (testResample testResample.cpp)23 add_executable (testKF_QR testKF_QR.cpp)24 add_executable (testKF_QRexh testKF_QRexh.cpp)25 21 add_executable (pmsm_unkQ pmsm_unkQ.cpp) 26 22 add_executable (pmsm_unkQpf pmsm_unkQpf.cpp) 27 28 29 23 # Link the executable to the Hello library. 30 target_link_libraries (test0 ${BdmLibs})31 target_link_libraries (testKF ${BdmLibs})32 target_link_libraries (testPF ${BdmLibs})33 target_link_libraries (testSmp ${BdmLibs})34 target_link_libraries (testEpdf ${BdmLibs})35 target_link_libraries (testResample ${BdmLibs})36 target_link_libraries (testKF_QR ${BdmLibs})37 target_link_libraries (testKF_QRexh ${BdmLibs})38 24 target_link_libraries (pmsm_unkQ ${BdmLibs}) 39 25 target_link_libraries (pmsm_unkQpf ${BdmLibs}) … … 43 29 target_link_libraries (testbidiff ${BdmLibs}) 44 30 45 include_directories ( ${BDM_SOURCE_DIR}/simulator_zdenek)46 link_directories ( ${BDM_BINARY_DIR}/simulator_zdenek)47 link_directories ( ${BDM_BINARY_DIR}/simulator_zdenek/ekf_example)31 include_directories (./simulator_zdenek) 32 link_directories (./simulator_zdenek) 33 link_directories (./simulator_zdenek/ekf_example) 48 34 add_executable (pmsm_sim pmsm_sim.cpp) 49 35 add_executable (pmsm_sim2 pmsm_sim2.cpp) -
tests/CMakeLists.txt
r64 r73 23 23 add_executable (testKF_QR testKF_QR.cpp) 24 24 add_executable (testKF_QRexh testKF_QRexh.cpp) 25 add_executable (pmsm_unkQ pmsm_unkQ.cpp)26 add_executable (pmsm_unkQpf pmsm_unkQpf.cpp)27 25 28 26 … … 36 34 target_link_libraries (testKF_QR ${BdmLibs}) 37 35 target_link_libraries (testKF_QRexh ${BdmLibs}) 38 target_link_libraries (pmsm_unkQ ${BdmLibs})39 target_link_libraries (pmsm_unkQpf ${BdmLibs})40 36 41 # PMSM stuff42 add_executable (testbidiff testbidiff.cpp)43 target_link_libraries (testbidiff ${BdmLibs})44 45 include_directories (${BDM_SOURCE_DIR}/simulator_zdenek)46 link_directories (${BDM_BINARY_DIR}/simulator_zdenek)47 link_directories (${BDM_BINARY_DIR}/simulator_zdenek/ekf_example)48 add_executable (pmsm_sim pmsm_sim.cpp)49 add_executable (pmsm_sim2 pmsm_sim2.cpp)50 add_executable (pmsm_sim3 pmsm_sim3.cpp)51 target_link_libraries (pmsm_sim ${BdmLibs} pmsmsim )52 target_link_libraries (pmsm_sim2 ${BdmLibs} pmsmsim )53 target_link_libraries (pmsm_sim3 ${BdmLibs} pmsmsim ekf_obj)