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

Combining catkin with premake4

asked 2014-04-17 00:29:17 -0500

Hansg91 gravatar image

Hey,

I have a library which uses premake4 for generating the makefiles. Is there a way to combine this in catkin, without writing the CMake files for the library? Worst case I can make the CMake files myself but I'd rather keep the library as-is.

Best regards, Hans

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-04-17 00:46:55 -0500

dornhege gravatar image

Depending on how you want to package the library it might be an option to just call the library build as a custom build step from catkin. This will make it easier to integrate updates from upstream. Depending on the interface it might be harder to integrate it with ROS, especially when the builds aren't ABI compatible.

edit flag offensive delete link more

Comments

Hmm yes that would work I suppose. So I add the generating of makefiles using premake4 and the building of the library as a custom build step, then just link to it like any other library. Thanks!

Hansg91 gravatar image Hansg91  ( 2014-04-17 02:06:05 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-04-17 00:29:17 -0500

Seen: 159 times

Last updated: Apr 17 '14