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

How to make "catkin build" build static libs?

asked 2019-06-19 08:55:17 -0500

Sebastian Kasperski gravatar image

I am using catkin_tools with melodic and would like to define static libraries system-wide, or at least workspace-wide. I don't want to manually change every CMakeLists.txt in my workspace.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-06-20 02:58:56 -0500

Sebastian Kasperski gravatar image

It works by adding the CMake-Variable to the catkin config;

catkin config -a --cmake-args -DBUILD_SHARED_LIBS=0
edit flag offensive delete link more

Question Tools



Asked: 2019-06-19 08:55:17 -0500

Seen: 467 times

Last updated: Jun 20 '19