Changeset 341 for library/mex

Show
Ignore:
Timestamp:
05/14/09 17:16:41 (16 years ago)
Author:
smidl
Message:

Compilation stuff

Location:
library/mex
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • library/mex/CMakeLists.txt

    r326 r341  
    55COMMAND   ${MEX_COMPILER} 
    66#ARGS      -lblas -llapack -lbdm -I"${BDM_BINARY_DIR}/bdm" -L"${BDM_BINARY_DIR}/bdm" -I${MATLAB_INCLUDE_DIR} -L${ MATLAB_MEX_LIBRARY} estimator.cpp 
    7 ARGS      -v -lblas -llapack -lbdm -litpp -I${BDM_BINARY_DIR}/bdm -L${BDM_BINARY_DIR}/bdm -I${MATLAB_INCLUDE_DIR} -L${MATLAB_MEX_LIBRARY} -L${ITPP_LIBRARY} estimator.cpp 
     7ARGS      -v -lblas -llapack -lbdm -litpp -I${BDM_BINARY_DIR}/bdm -I${ITPP_INCLUDE_DIR} -L${BDM_BINARY_DIR}/bdm -I${MATLAB_INCLUDE_DIR} -L${MATLAB_MEX_LIBRARY} -L${NATIVE_ITPP_LIB_PATH} estimator.cpp 
    88COMMENT   "MEX" 
    99) 
     
    1111ADD_CUSTOM_TARGET(mex_test ALL DEPENDS estimator_mex) 
    1212 
     13ADD_CUSTOM_COMMAND( 
     14OUTPUT    mx2cfg_mex 
     15COMMAND   ${MEX_COMPILER} 
     16#ARGS      -lblas -llapack -lbdm -I"${BDM_BINARY_DIR}/bdm" -L"${BDM_BINARY_DIR}/bdm" -I${MATLAB_INCLUDE_DIR} -L${ MATLAB_MEX_LIBRARY} estimator.cpp 
     17ARGS      -v -lblas -llapack -lbdm -litpp -I${BDM_BINARY_DIR}/bdm -I${ITPP_INCLUDE_DIR} -L${BDM_BINARY_DIR}/bdm -I${MATLAB_INCLUDE_DIR} -L${MATLAB_MEX_LIBRARY} -L${NATIVE_ITPP_LIB_PATH} mxstruct2config.cpp 
     18COMMENT   "MEX" 
     19) 
     20 
     21ADD_CUSTOM_TARGET(mex_cfg ALL DEPENDS mx2cfg_mex) 
     22 
    1323ENDIF(MEX_COMPILER) 
  • library/mex/bm_note.sh

    r338 r341  
    11#!/bin/sh 
    2 mex -l itpp -l bdm -l blas -l lapack -I/home/smidl/bin/matlab2008a/extern/include -I/home/smidl/work/git/mixpp/bdm  -L ../../bdm/ -L /usr/lib64 $1  
     2mex -l itpp -l bdm -l blas -l lapack-Wfatal-errors -I/home/smidl/bin/matlab2008a/extern/include -I/home/smidl/work/git/mixpp/bdm  -L ../../bdm/ -L /usr/lib64 $1  
    33#mxestimator.cpp 
    44#mex -l bdm -I ../../bdm/ -I /home/smidl/soft/matlab/matlab/extern/include -L ../../bdm/ linefit2.cpp 
  • library/mex/buildmex.sh

    r327 r341  
    88 
    99#mex -g -l itpp -l bdm -I$MATLAB_PATH/extern/include -I$BDM_PATH  -L ../../bdm/ -L ../../linux/libs/ $1  
    10 mex -l itpp -l bdm -I$MATLAB_PATH/extern/include -I$BDM_PATH  -L ../../bdm/ -L ../../linux/libs/ $1  
     10mex -l itpp -l bdm -Wfatal-errors -I$MATLAB_PATH/extern/include -I$BDM_PATH  -L ../../bdm/ -L ../../linux/libs/ $1  
    1111#mxestimator.cpp 
    1212#mex -l bdm -I ../../bdm/ -I /home/smidl/soft/matlab/matlab/extern/include -L ../../bdm/ linefit2.cpp