-
Notifications
You must be signed in to change notification settings - Fork 777
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check for MEX Compiler #554
Conversation
varunagrawal
commented
Oct 2, 2020
- Check if mex compiler exists for Matlab wrapper.
- Formatting and restructuring.
CMakeLists.txt
Outdated
set(CURRENT_POSTFIX ${CMAKE_${CMAKE_BUILD_TYPE_UPPER}_POSTFIX}) | ||
endif() | ||
if(GTSAM_INSTALL_MATLAB_TOOLBOX) | ||
find_package(Matlab COMPONENTS MEX_COMPILER REQUIRED) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you should probably remove the relevant code in cmake/GtsamMatlabWrap
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think there is any related code in GtsamMatlabWrap
? I may be wrong though. My understanding is that the code in GtsamMatlabWrap
is primarily for wrapping and I didn't want to mess with it for minor things.
Thanks for the recommendation @ProfFan. I've reworked this PR to be a lot better. |
@ProfFan gentle reminder. |
@varunagrawal Sorry I don't have capacity for this now, if you have tested on both Linux and Windows it's good I think. |
@ProfFan cool. Can you please approve this PR then? If any issues are raised for the Matlab wrapper, just assign them to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure :)