Questions tagged [object-library]

3 questions
3
votes
0 answers

Android gradle complains about object library having multiple outputs

With gradle 6.5 I was able to build a cmake project which has a target which depends on an object library, something like add_library(mylib SHARED code1.cc code2.cc $
Kasper Peeters
  • 1,580
  • 2
  • 18
  • 37
2
votes
1 answer

Transitive Object Libraries in CMake

Question: Is it possible to join multiple object libraries into a single larger object library? Consider the following simple project. libA.cpp is compiled into an object library LibA.Obj, and libB.cpp is compiled into an object library LibB.Obj. I…
Alecto Irene Perez
  • 10,321
  • 23
  • 46
1
vote
0 answers

Switching away from mixing static and shared libraries

I have a project where I mix between static and shared libs. The shared libs are delivered. Each shared lib is built with its correspondence static lib. A shared lib can depend on other shared libs as well. For example, I have: sharedA, sharedB,…