Open yunwei37 opened 4 months ago
Please use cmake. Cmake will handle the link stage automatically and you don't need to manually specify all indirect dependencies.
It's also impossible to link a single library, since libraries you linked contain both static and dynamic libraries
Please use cmake. Cmake will handle the link stage automatically and you don't need to manually specify all indirect dependencies.
See https://cmake.org/cmake/help/latest/manual/cmake-buildsystem.7.html#id25 for details
Related to #232
Building all dependencies into a single static library should solve this issue
Hi @Officeyutong #232 only concerns with static libraries, for dynamic libraries we will still need to link them right?
Hi @Officeyutong #232 only concerns with static libraries, for dynamic libraries we will still need to link them right?
Yes
Is your feature request related to a problem? Please describe.
Currently, if I want to use runtime as a library, I need to write a lot of link commands:
This is not user-friendly and should be simplified.
Describe the solution you'd like
It would be better if the
libruntime.a
can be used just like: