Notes |
|
(0026567)
|
Tom Vercauteren
|
2011-05-23 02:49
|
|
|
|
(0029159)
|
TImtim
|
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
|
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
|
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
|
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. |
|