Changeset 623
- Timestamp:
- 09/16/09 22:59:30 (15 years ago)
- Location:
- library/system
- Files:
-
- 1 added
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/system/SetBdmEnv.cmake
r582 r623 126 126 LINK_DIRECTORIES("${BDM_SOURCE_DIR}/bdm") 127 127 IF(WIN32) 128 ADD_DEFINITIONS(/EXPORT:_mexFunction) 128 ADD_LIBRARY("${FN}.${MATLAB_MEX_SUFFIX}" MODULE ${FN}.cpp "${BDM_SOURCE_DIR}/system/mexFunction.def") 129 ELSE(WIN32) 130 ADD_LIBRARY("${FN}.${MATLAB_MEX_SUFFIX}" MODULE ${FN}.cpp) 129 131 ENDIF(WIN32) 130 ADD_LIBRARY("${FN}.${MATLAB_MEX_SUFFIX}" MODULE ${FN}.cpp) 132 131 133 set_target_properties("${FN}.${MATLAB_MEX_SUFFIX}" PROPERTIES 132 134 PREFIX ""