Hi Bill.
Probably the easiest way to set the interface properties to just what you
need is to use the PUBLIC (which is the default), PRIVATE and INTERFACE
keywords when specifying dependencies. In your case, you'd apply them like
this:
add_library(joe STATIC joe.c joe_a.c)
add_library(fred
This solved the cmake end of this. Thanks!
B.
On 04/15/2015 11:53 PM, Petr Kmoch wrote:
Hi Bill.
Probably the easiest way to set the interface properties to just what
you need is to use the PUBLIC (which is the default), PRIVATE and
INTERFACE keywords when specifying dependencies. In your
The following is all on Linux (with gcc, gnu binutils, etc).
I'm trying to build libfred.so that uses code from libjoe.a, but I want
libfred.so to be complete, i.e. I don't want any program that I build
that links to libfred.so also need libjoe.a.
Then I want to build executable mike that is