ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I solved my problem with Option 2. It's essentially the principle behind this wonderful package: https://github.com/uts-magic-lab/message_thief. But if there is a set of CMake commands that one can easily reproduce to build just the messages, I'd love to know. (I know it's possible because my CLion IDE gives me the option of building that target; I just don't know how to get the actual command that CLion is using under-the-hood).

I solved my problem with Option 2. It's essentially the principle behind this wonderful package: https://github.com/uts-magic-lab/message_thief. But if there is a set of CMake commands that one can easily reproduce use to build just the messages, I'd love to know. (I know it's possible because my CLion IDE gives me the option of building that just the generate_messages target; I just don't know how to get the actual command that CLion is using under-the-hood).

I solved my problem with Option 2. It's essentially the principle behind this wonderful package: https://github.com/uts-magic-lab/message_thief. But if there is a set of CMake commands that one can easily use to build just the messages, I'd love to know. (I know it's possible because my CLion IDE gives me the option of building just the generate_messages target; I just don't know how to get the actual command that CLion is using under-the-hood).

Edit: As mentioned in @gvdhoorn's comment, it appears that CLion gives me the option to only build the generate_messages target because it has already had a successful CMake build in the past. On the new machine, the extra dependencies within the CMakeLists.txt would cause the CMake build to fail, and therefore the build target of generate_messages would not exist. Conclusion - option 1 is impossible.

I solved my problem with Option 2. It's essentially the principle behind this wonderful package: https://github.com/uts-magic-lab/message_thief. But if there is a set of CMake commands that one can easily use to build just the messages, I'd love to know. (I know it's possible because my CLion IDE gives me the option of building just the generate_messages target; I just don't know how to get the actual command that CLion is using under-the-hood).

Edit: As mentioned in @gvdhoorn's comment, answer, it appears that CLion gives me the option to only build the generate_messages target because it has already had a successful CMake build in the past. On the new machine, the extra dependencies within the CMakeLists.txt would cause the CMake build to fail, and therefore the build target of generate_messages would not exist. Conclusion - option 1 is impossible.