Revision 393, 420 bytes
(checked in by smidl, 16 years ago)
|
merger_mx works!
|
Line | |
---|
1 | IF(MEX_COMPILER) |
---|
2 | |
---|
3 | MACRO(MEX FN) |
---|
4 | INCLUDE_DIRECTORIES(${MATLAB_INCLUDE_DIR} "${BDM_SOURCE_DIR}/bdm") |
---|
5 | LINK_DIRECTORIES("${BDM_SOURCE_DIR}/bdm") |
---|
6 | ADD_LIBRARY(${FN} MODULE ${FN}.cpp) |
---|
7 | set_target_properties(${FN} PROPERTIES |
---|
8 | PREFIX "" |
---|
9 | SUFFIX ".mexa64" |
---|
10 | ) |
---|
11 | TARGET_LINK_LIBRARIES(${FN} ${MATLAB_LIBRARIES} bdm itpp) |
---|
12 | ENDMACRO(MEX) |
---|
13 | |
---|
14 | MEX(merger_mx) |
---|
15 | EXEC(merger) |
---|
16 | MEX(config2mxstruct) |
---|
17 | MEX(mxstruct2config) |
---|
18 | |
---|
19 | ENDIF(MEX_COMPILER) |
---|