You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cmake/Tests/FindMatlab/matlab_wrapper_failure.cpp

14 lines
341 B

// This should not link, as the mex function is missing.
// This is mostly for checking we are passing the right arguments to the
// add_library
#include <algorithm>
#include "mex.h"
void mexFunctionXX(const int nlhs, mxArray* plhs[], const int nrhs,
const mxArray* prhs[])
{
mexErrMsgTxt("Should not be running");
}