Revision 654, 0.7 kB
(checked in by smidl, 15 years ago)
|
PMSM compiles again
|
-
Property svn:eol-style set to
native
|
Line | |
---|
1 | # Matlab toolbox of functions from BDM |
---|
2 | |
---|
3 | cmake_minimum_required(VERSION 2.6) |
---|
4 | PROJECT(bdmtoolbox) |
---|
5 | |
---|
6 | # Link it to BDM |
---|
7 | SET(BDM_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../../library") |
---|
8 | SET(CMAKE_MODULE_PATH "${BDM_SOURCE_DIR}/system") |
---|
9 | |
---|
10 | # Load BDM environment |
---|
11 | INCLUDE(SetBdmEnv) |
---|
12 | |
---|
13 | include_directories (${BDM_SOURCE_DIR}/bdm) |
---|
14 | link_directories (${BDM_SOURCE_DIR}/bdm) |
---|
15 | |
---|
16 | # no simulator needed... |
---|
17 | EXEC(testbidiff) |
---|
18 | |
---|
19 | |
---|
20 | ###STUFF with SIMULATOR |
---|
21 | |
---|
22 | ## Build simulator |
---|
23 | add_subdirectory (simulator_zdenek) |
---|
24 | #add_subdirectory (simulator_zdenek/ekf_example) |
---|
25 | |
---|
26 | ## Use it |
---|
27 | include_directories (./simulator_zdenek) |
---|
28 | link_directories (./simulator_zdenek) |
---|
29 | #link_directories (./simulator_zdenek/ekf_example) |
---|
30 | |
---|
31 | EXEC (pmsm_estim pmsmsim) |
---|
32 | #EXEC (sim pmsmsim) |
---|
33 | #EXEC (sim_var pmsmsim) |
---|
34 | |
---|
35 | #add_subdirectory (TR2245) |
---|