CMake: how create a single shared library from all static libraries of subprojects?

后端 未结 5 602
南旧
南旧 2020-11-30 19:36

I have the following layout:

top_project
    + subproject1
    + subproject2

Each of subproject1 and subproject2

5条回答
  •  余生分开走
    2020-11-30 20:14

    Another way of doing it.

    This way seems simpler, but I'm not sure how perfect it is:

    https://stackoverflow.com/a/14347487/602340

提交回复
热议问题