Multiple libraries using codegen #241
Answered
by
cortinico
riteshshukla04
asked this question in
Q&A
-
The latest codegen configuration doesnt have option to add multiple libraries (Like before) . How can we add multiple libraries or now is it limited to just one. |
Beta Was this translation helpful? Give feedback.
Answered by
cortinico
Oct 30, 2024
Replies: 1 comment 2 replies
-
You'll have to create separate NPM packages if you intend to do so. Also, you can still add multiple components/modules to the same library if you wish. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Because on Android we need to link against a static/object library which contains all the C++ code. If we were to allow more than one library, we'll have to add more complexity in the build logic so that there will be multiple CMake targets. This will also complicate the autolinking which is already quite involved, so we opted for having 1 library per 1 NPM module