10 | | |
11 | | ## Save all needed libraries in variable BdmLibs |
12 | | #SET(BdmLibs bdm itpp_debug) |
13 | | SET(BdmLibs bdm itpp) |
14 | | |
15 | | IF(WIN32) |
16 | | SET(BdmLibs ${BdmLibs} libacml_dll) |
17 | | ENDIF(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. |
21 | | add_executable (pmsm_unkQ pmsm_unkQ.cpp) |
22 | | add_executable (pmsm_unkQpf pmsm_unkQpf.cpp) |
23 | | # Link the executable to the Hello library. |
24 | | target_link_libraries (pmsm_unkQ ${BdmLibs}) |
25 | | target_link_libraries (pmsm_unkQpf ${BdmLibs}) |
26 | | |
27 | | # PMSM stuff |
28 | | add_executable (testbidiff testbidiff.cpp) |
29 | | target_link_libraries (testbidiff ${BdmLibs}) |
30 | | |
| 19 | ## Use it |
39 | | add_executable (mpf_test mpf_test.cpp) |
40 | | target_link_libraries (mpf_test ${BdmLibs} pmsmsim) |
41 | | add_executable (sim sim.cpp) |
42 | | target_link_libraries (sim ${BdmLibs} pmsmsim) |
43 | | add_executable (sim_var sim_var.cpp) |
44 | | target_link_libraries (sim_var ${BdmLibs} pmsmsim) |
45 | | add_executable (sim_var_arx sim_var_arx.cpp) |
46 | | target_link_libraries (sim_var_arx ${BdmLibs} pmsmsim) |
47 | | add_executable (pmsm_mix pmsm_mix.cpp) |
48 | | target_link_libraries (pmsm_mix ${BdmLibs} pmsmsim) |
| 24 | EXEC (pmsm_sim pmsmsim) |
| 25 | EXEC (pmsm_sim2 pmsmsim) |
| 26 | EXEC (mpf_test pmsmsim) |
| 27 | EXEC (sim pmsmsim) |
| 28 | EXEC (sim_var pmsmsim) |
| 29 | EXEC (sim_var_arx pmsmsim) |
| 30 | EXEC (pmsm_mix pmsmsim) |
| 31 | |