https://github.com/Kitware/CMake
Raw File
Tip revision: 6c0b3d2b7e3cfdf62e895d6827f103e2b3fd8ef8 authored by Brad King on 01 March 2023, 14:43:05 UTC
CMake 3.26.0-rc5
Tip revision: 6c0b3d2
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