Add CMake support for MotoPlus builder#381
Add CMake support for MotoPlus builder#381Gaspard-Bourgeois wants to merge 3 commits intoros-industrial:kinetic-develfrom
Conversation
|
Thanks for the PR. I'm wondering though: this seems to duplicate quite a bit of information which is already part of the various I'm not against merging this, but duplication would be something to avoid. Could you not have reused the |
Don't generate from scratch mps files from CMakeLists.txt and use directly existing mps files to match existing file tree structure
|
Thanks for the feed back ! Originally, I wrote this file to use another IDE than MotoPlus IDE. I talked about that with Yaskawa France and it was possible with MpBuilder, and possibly without having Visual Studio IDE but using Visual Studio file project. So the purpose of my original commit. But for this project, it's more interesting to use each mps file and existing vxproj file, so the updated commit. |
|
So to get it clear: this adds a CMake macro which generates command lines to instruct
thanks for this comment, I now understand better what you're trying to do. I believe it would be fine to have some infrastructure to build MotoROS with |
Exactly! Thanks for your answer!
I agree with your comment, I will see to re-think the content on a clear way and propose an appropriated name for it. Thank you very much! |
1rst file to support existing setup with Visual Studio 2nd file without existing Visual Studio files (generation on the fly)
|
it seems OK to me |
|
I'm not sure I follow @Julien-Livet and @Gaspard-Bourgeois: why did you close the PR? |
|
Hey @gavanderhoorn . I think @Gaspard-Bourgeois didn't know that he was closing the PR. Sorry for that ! |
|
I'm sorry, I did'nt know closing meant that |
| project_config(MotoRos YRC1000 YRC1u_) | ||
| project_config(MotoRos YRC1000u YRC1_) |
There was a problem hiding this comment.
The controller names and suffixes are mixed up here
| @@ -0,0 +1,159 @@ | |||
| #Without Visual Studio support: .vcxproj and linked mps files are automatically generated on the fly by CMake macro | |||
There was a problem hiding this comment.
I don't understand the purpose of this file.
The other file uses the information already present in the mps file and avoids any duplication. It allows generating build configuration for VS, Makefiles or any other CMake target, that will use the mpbuilder.exe from MotoPlus for Visual Studio, which is useful.
This file just produces the same results, only with the difference of spelling everything out explicitly?
Well done Julien. This file is working great in our lab, I support the pull request.