Can I build turtlesim into a static library?
I would like to build turtlesim into a static library, turtlesim.a
.
In fact, I am writing a piece of code, say use_turtlesim.c
that is supposed to invoke functions defined in some cpp source code of turtlesim package, e.g.TurtleApp.exec(). To achieve that, I would need to have turtilesim as a static library and then link it with the code use_turtlesim.c
.