https://github.com/Kitware/CMake
Raw File
Tip revision: ed154b38963437c7a0208a45592988aa577ac7c9 authored by Brad King on 06 November 2023, 16:50:13 UTC
CMake 3.28.0-rc4
Tip revision: ed154b3
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