Skip to content

Multiple libraries using codegen #241

Answered by cortinico
riteshshukla04 asked this question in Q&A
Discussion options

You must be logged in to vote

Just curious, any particular reason that it is limited to one?

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

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@riteshshukla04
Comment options

@cortinico
Comment options

Answer selected by riteshshukla04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants