Ask Your Question

Combining catkin with premake4

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

Hansg91 gravatar image


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

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


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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


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

Seen: 67 times

Last updated: Apr 17 '14