m-kuhn commented on PR #719: URL: https://github.com/apache/arrow-nanoarrow/pull/719#issuecomment-2732109435
Thanks for all the work! For my understanding, for downstream libraries that link to nanoarrow, this will mean to be used like this: ``` target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:nanoarrow::nanoarrow_shared>,nanoarrow::nanoarrow_shared,nanoarrow::nanoarrow_static>) ``` and there's no generic target that takes whatever has been built? ``` target_link_libraries(main PRIVATE nanoarrow::nanoarrow) ``` I'm asking as I never had the need to build static AND shared libraries side-by-side but had the need to build either one or the other depending on the target platform (e.g. shared for linux, static for ios) and for these cases the short version is nice in terms of readability. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
