mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-20 21:28:23 -05:00
11e0009b77
Enabling a mex target to be excluded from the `all` target.
14 lines
341 B
C++
14 lines
341 B
C++
// 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");
|
|
}
|