View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014641 | CMake | CMake | public | 2013-12-09 14:52 | 2016-01-04 11:51 | ||||
Reporter | kentwilliams | ||||||||
Assigned To | Raffi Enficiaud | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | all | OS | OS Version | ||||||
Product Version | CMake 2.8.12 | ||||||||
Target Version | CMake 3.3 | Fixed in Version | CMake 3.3 | ||||||
Summary | 0014641: FindMatlab.cmake is outdated/broken | ||||||||
Description | The current FindMatlab.cmake doesn't work very well in finding libraries and important executables. There is a version that originated in the Gerardus project (https://code.google.com/p/gerardus/ [^]) that does a better job. | ||||||||
Steps To Reproduce | find_package(MatLab REQUIRED) if(NOT MATLAB_MEX_PATH) message("MATLAB_MEX_PATH not found, you must not be using the new FindMatlab.cmake") endif() | ||||||||
Additional Information | Attached file is what we use with some success. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | FindMatlab.cmake [^] (7,558 bytes) 2013-12-09 14:52 | ||||||||
Relationships | |
Relationships |
Notes | |
(0034766) Brad King (manager) 2013-12-09 15:00 |
CMake upstream find module maintenance requires a volunteer as described here: http://www.cmake.org/Wiki/CMake:Module_Maintainers [^] to keep things updated. Perhaps one of the authors of the Gerardus version of the module can volunteer. |
(0034767) Brad King (manager) 2013-12-09 15:02 |
As Gerardus is GPLv3 we cannot simply redistribute their version of this module without permission. We need a BSD 3-Clause license grant. |
(0035252) Raffi Enficiaud (developer) 2014-03-05 08:37 |
Hi, Having the same kind of problem myself, I created a version of a FindMatlab package that currently runs on Windows and Mac. I will try on Linux in the near future. The current functionalities are these: - on all platforms: if MATLAB_ROOT is given, then uses it as the basis for the matlab installation - on win: parses the registry in order to find the matlab installation if MATLAB_ROOT not given - on mac: parses the /Application path in order to find a matlab installation if MATLAB_ROOT not given - if Matlab found and MATLAB_VERSION not given, runs matlab once in order to find the proper matlab version - additional versions can be provided by the user, by populating a list (as for Boost package) - some macros provided in order to retrieve the version from the release name, and the other way. - a macro and variable for providing the matlab mex extension Currently under dev: - a special macro for matlab R2017+ for adding matlab tests using the matlab unit test framework If I understand well, I need to volunteer myself as the package maintainer. Here we are: I volunteer myself. - What should I do now? - What is the release process? - If I release this script with the BSD-3 license, it is ok right? What about the Boost v1 license that I am currently using? - How to update the documentation then? Should the package be released with a text file documenting the functionalities? Thanks, Raffi Enficiaud |
(0035309) Brad King (manager) 2014-03-05 12:50 |
For reference, this is under discussion on cmake-developers here: http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/9592 [^] |
(0038230) Brad King (manager) 2015-03-17 13:02 |
Re 0014641:0035252: The associated major rewrite now appears in this commit: FindMatlab: Rewrite module and provide a usage API http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=49c8dcf7 [^] |
(0039016) dabookshah (reporter) 2015-07-02 23:23 |
Thanks to whoever updated FindMatlab.cmake, especially the matlab_add_mex function - Just what I was looking for. |
(0040087) Robert Maynard (manager) 2016-01-04 11:51 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-12-09 14:52 | kentwilliams | New Issue | |
2013-12-09 14:52 | kentwilliams | File Added: FindMatlab.cmake | |
2013-12-09 15:00 | Brad King | Note Added: 0034766 | |
2013-12-09 15:02 | Brad King | Note Added: 0034767 | |
2014-03-05 08:37 | Raffi Enficiaud | Note Added: 0035252 | |
2014-03-05 12:50 | Brad King | Note Added: 0035309 | |
2015-03-17 13:01 | Brad King | Assigned To | => Raffi Enficiaud |
2015-03-17 13:01 | Brad King | Status | new => assigned |
2015-03-17 13:02 | Brad King | Note Added: 0038230 | |
2015-03-17 13:02 | Brad King | Status | assigned => resolved |
2015-03-17 13:02 | Brad King | Resolution | open => fixed |
2015-03-17 13:02 | Brad King | Fixed in Version | => CMake 3.3 |
2015-03-17 13:02 | Brad King | Target Version | => CMake 3.3 |
2015-07-02 23:23 | dabookshah | Note Added: 0039016 | |
2016-01-04 11:51 | Robert Maynard | Note Added: 0040087 | |
2016-01-04 11:51 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |