https://github.com/Kitware/CMake
Raw File
Tip revision: 66ba460810afdc0e0f65c20b1bc057a204acc82c authored by Brad King on 18 March 2022, 12:26:30 UTC
CMake 3.23.0-rc4
Tip revision: 66ba460
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