Changeset 623

Show
Ignore:
Timestamp:
09/16/09 22:59:30 (15 years ago)
Author:
smidl
Message:

win32 compilation - works on MS VS 2005

Location:
library/system
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • library/system/SetBdmEnv.cmake

    r582 r623  
    126126        LINK_DIRECTORIES("${BDM_SOURCE_DIR}/bdm") 
    127127        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) 
    129131        ENDIF(WIN32) 
    130         ADD_LIBRARY("${FN}.${MATLAB_MEX_SUFFIX}" MODULE ${FN}.cpp) 
     132 
    131133        set_target_properties("${FN}.${MATLAB_MEX_SUFFIX}" PROPERTIES 
    132134                PREFIX ""