Revised for versions which do not support target_link_libraries()
for object libraries. Instead, an interface library is created
for every object library, which is added using a new function add_object().
Dependencies are collected manually by traversing the linked interface libraries.
Revised for versions which do not support
target_link_libraries()
for object libraries. Instead, an interface library is created for every object library, which is added using a new functionadd_object()
. Dependencies are collected manually by traversing the linked interface libraries.