View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009240CMakeModulespublic2009-07-07 08:552016-06-10 14:30
ReporterMatt McCormick 
Assigned ToBill Hoffman 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0009240: Support for Matlab Mex
DescriptionFor more information, see http://www.cmake.org/Wiki/CMake:MatlabMex [^]
TagsNo tags attached.
Attached Filespatch file icon Add-support-for-making-Matlab-mex-files.patch [^] (6,730 bytes) 2009-07-07 08:55 [Show Content]

 Relationships

  Notes
(0026567)
Tom Vercauteren (reporter)
2011-05-23 02:49

This issue is related to bug 0008207
http://public.kitware.com/Bug/view.php?id=8207 [^]
(0029159)
TImtim (reporter)
2012-04-15 06:16

Thanks a lot for this patch. It'd be really awesome if this could find its way into CMake per default.

Custom CFLAGS/CXXFLAGS can be handed to the mex script just like from the Matlab prompt by using the following directives (here the -std=c++0x flag is passed to the compiler as an example):

SET(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} "CFLAGS=\"\\$$CFLAGS -std=c++0x\"")
SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "CXXFLAGS=\"\\$$CXXFLAGS -std=c++0x\"")
(0030042)
Janick Martinez (reporter)
2012-07-12 06:06

I'd love to see this feature in an official version, too! Its working very well for me.
(0038759)
Raffi Enficiaud (developer)
2015-05-18 03:45

The refactored version of FindMatlab (current master, upcoming v3.3) allows to add a mex file and emulates the mex compiler.
(0041577)
Kitware Robot (administrator)
2016-06-10 14:27

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2009-07-07 08:55 Matt McCormick New Issue
2009-07-07 08:55 Matt McCormick File Added: Add-support-for-making-Matlab-mex-files.patch
2009-09-14 15:03 Bill Hoffman Status new => assigned
2009-09-14 15:03 Bill Hoffman Assigned To => Bill Hoffman
2011-05-23 02:49 Tom Vercauteren Note Added: 0026567
2012-04-15 06:16 TImtim Note Added: 0029159
2012-07-12 06:06 Janick Martinez Note Added: 0030042
2015-05-18 03:45 Raffi Enficiaud Note Added: 0038759
2016-06-10 14:27 Kitware Robot Note Added: 0041577
2016-06-10 14:27 Kitware Robot Status assigned => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:30 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team