Changeset 407 for library/system/SetBdmEnv.cmake
- Timestamp:
- 07/02/09 22:16:11 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/system/SetBdmEnv.cmake
r406 r407 100 100 INCLUDE_DIRECTORIES(${MATLAB_INCLUDE_DIR} "${BDM_SOURCE_DIR}/bdm") 101 101 LINK_DIRECTORIES("${BDM_SOURCE_DIR}/bdm") 102 ADD_LIBRARY( ${FN}MODULE ${FN}.cpp)103 set_target_properties( ${FN}PROPERTIES102 ADD_LIBRARY("${FN}.${MATLAB_MEX_SUFFIX}" MODULE ${FN}.cpp) 103 set_target_properties("${FN}.${MATLAB_MEX_SUFFIX}" PROPERTIES 104 104 PREFIX "" 105 SUFFIX ${MATLAB_MEX_SUFFIX} 105 SUFFIX "" 106 COMPILE_FLAGS "-DMEX" 106 107 ) 107 TARGET_LINK_LIBRARIES( ${FN}${MATLAB_LIBRARIES} bdm itpp)108 TARGET_LINK_LIBRARIES("${FN}.${MATLAB_MEX_SUFFIX}" ${MATLAB_LIBRARIES} bdm itpp) 108 109 ENDMACRO(MEX)