Revision 367, 1.0 kB
(checked in by smidl, 16 years ago)
|
do not compile old stuff
|
Line | |
---|
1 | IF(MEX_COMPILER) |
---|
2 | |
---|
3 | ADD_CUSTOM_COMMAND( |
---|
4 | OUTPUT estimator_mex |
---|
5 | COMMAND ${MEX_COMPILER} |
---|
6 | #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 -I${ITPP_INCLUDE_DIR} -L${BDM_BINARY_DIR}/bdm -I${MATLAB_INCLUDE_DIR} -L${MATLAB_MEX_LIBRARY} -L${NATIVE_ITPP_LIB_PATH} estimator.cpp |
---|
8 | COMMENT "MEX" |
---|
9 | ) |
---|
10 | |
---|
11 | #ADD_CUSTOM_TARGET(mex_test ALL DEPENDS estimator_mex) |
---|
12 | |
---|
13 | ADD_CUSTOM_COMMAND( |
---|
14 | OUTPUT mx2cfg_mex |
---|
15 | COMMAND ${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 |
---|
17 | ARGS -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 |
---|
18 | COMMENT "MEX" |
---|
19 | ) |
---|
20 | |
---|
21 | ADD_CUSTOM_TARGET(mex_cfg ALL DEPENDS mx2cfg_mex) |
---|
22 | |
---|
23 | ENDIF(MEX_COMPILER) |
---|