https://github.com/Kitware/CMake
Raw File
Tip revision: 222bf361e4f0f75698eab0bcad55064cec539923 authored by Brad King on 18 November 2020, 12:46:23 UTC
CMake 3.19.0
Tip revision: 222bf36
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