Ask Your Question
0

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
1

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

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

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

Seen: 23 times

Last updated: Jun 20