https://github.com/Kitware/CMake
Raw File
Tip revision: 19ff734e76a35d59eb0f973197cadb1c271c766c authored by Brad King on 13 January 2021, 12:58:18 UTC
CMake 3.19.3
Tip revision: 19ff734
matlab_wrapper_failure.cpp
// 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");
}
back to top