Changeset 406 for applications
- Timestamp:
- 07/02/09 22:16:09 (16 years ago)
- Location:
- applications/bdmtoolbox
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/bdmtoolbox/CMakeLists.txt
r391 r406 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 1 13 include_directories (${BDM_SOURCE_DIR}/bdm) 2 14 link_directories (${BDM_BINARY_DIR}/bdm) -
applications/bdmtoolbox/mex/CMakeLists.txt
r393 r406 1 1 IF(MEX_COMPILER) 2 3 MACRO(MEX FN)4 INCLUDE_DIRECTORIES(${MATLAB_INCLUDE_DIR} "${BDM_SOURCE_DIR}/bdm")5 LINK_DIRECTORIES("${BDM_SOURCE_DIR}/bdm")6 ADD_LIBRARY(${FN} MODULE ${FN}.cpp)7 set_target_properties(${FN} PROPERTIES8 PREFIX ""9 SUFFIX ".mexa64"10 )11 TARGET_LINK_LIBRARIES(${FN} ${MATLAB_LIBRARIES} bdm itpp)12 ENDMACRO(MEX)13 2 14 3 MEX(merger_mx)