Changeset 654 for applications/pmsm/CMakeLists.txt
- Timestamp:
- 10/12/09 19:38:57 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/pmsm/CMakeLists.txt
r357 r654 1 # Make sure the compiler can find include files from our Bdm library. 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 2 13 include_directories (${BDM_SOURCE_DIR}/bdm) 3 4 # Make sure the linker can find the bdm library once it is built. 5 link_directories (${BDM_BINARY_DIR}/bdm) 14 link_directories (${BDM_SOURCE_DIR}/bdm) 6 15 7 16 # no simulator needed... … … 24 33 #EXEC (sim_var pmsmsim) 25 34 26 add_subdirectory (TR2245)35 #add_subdirectory (TR2245)