root/applications/pmsm/CMakeLists.txt @ 1403

Revision 1243, 0.8 kB (checked in by smidl, 14 years ago)

Contrallable PMSM DS + PI control

  • Property svn:eol-style set to native
Line 
1# Matlab toolbox of functions from BDM
2
3cmake_minimum_required(VERSION 2.6)
4PROJECT(bdmtoolbox)
5
6# Link it to BDM
7SET(BDM_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../../library")
8SET(CMAKE_MODULE_PATH "${BDM_SOURCE_DIR}/system")
9
10# Load BDM environment
11INCLUDE(SetBdmEnv)
12
13include_directories (${BDM_SOURCE_DIR}/bdm)
14link_directories (${BDM_SOURCE_DIR}/bdm)
15
16# no simulator needed...
17EXEC(testbidiff)
18
19
20###STUFF with SIMULATOR
21
22## Build simulator
23add_subdirectory (simulator_zdenek)
24add_subdirectory (simulator_zdenek/ekf_example)
25
26## Use it
27include_directories (./simulator_zdenek)
28link_directories (./simulator_zdenek)
29link_directories (./simulator_zdenek/ekf_example)
30
31EXEC (pmsm_estim pmsmsim ekf_obj)
32MEX (pmsm_estim pmsmsim ekf_obj)
33EXEC (pmsm_ctrl pmsmsim ekf_obj)
34MEX (pmsm_ctrl pmsmsim ekf_obj)
35
36#EXEC (sim pmsmsim)
37#EXEC (sim_var pmsmsim)
38
39add_subdirectory (TR2245)
Note: See TracBrowser for help on using the browser.