cmake now attempts to generate and compile a simple mex file at configure time and reports the working status of the generator and compiler, rather than just naively saying Matlab exists

This commit is contained in:
hbristow
2013-06-18 23:00:48 +10:00
parent fc16cfcf41
commit 804d0924c9
7 changed files with 85 additions and 28 deletions

View File

@@ -3,13 +3,4 @@
#include "mex.h"
namespace mex {
class Bridge {
private:
mxArray* m_;
public:
bool valid() { return_ m_ != 0; } const
mxArray* toMxArray() { return m_; } const
};
#endif