https://github.com/Kitware/CMake
Raw File
Tip revision: efa5e1f367ac76cb7aa919929ece1f4799cdc4b2 authored by Brad King on 21 June 2021, 15:23:19 UTC
CMake 3.20.5
Tip revision: efa5e1f
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