Re: [CMake] Compiling Matlab M files

2009-02-10 Thread elizabeta petreska
Ok I think I found solution maybe the answer is to use ADD_CUSTOM_COMMAND with DEPENDS On Tue, Feb 10, 2009 at 12:51 PM, elizabeta petreska < elizabeta.petre...@gmail.com> wrote: > Hello > My problem is this : > > I am having a set of matlab M files which need to be compiled with Matlab > compile

[CMake] Compiling Matlab M files

2009-02-10 Thread elizabeta petreska
Hello My problem is this : I am having a set of matlab M files which need to be compiled with Matlab compiler mcc.exe. And I have separate directory for my matlab files which looks like this: -MM --m files dummy.cpp cmakelists.txt the cmakelists.txt inside the directory: ADD_LIBRARY(MM