Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Feature default binding supporting multiple bindings static/shared #380

Merged
merged 6 commits into from
Aug 6, 2021

Conversation

GregDomjan
Copy link
Member

Aiming to address #368

Fix to apply the precedence in binding shared/static or others

Add a unit test that

  • creates a static and shared library in 1 build
  • depends on the library using
    • default
    • shared specific
    • static specific

Enhance auto-configuration of intermediate obj folder to acknowledge lib type

Automatic linking precedence is intended to be
shared > static > plugin | jni | executable | none

Last change caused change when multiple binding types are present,
the order in handling libraries can lead to static overwriting shared.

Update to static from lower types only if not already shared

#368
Using profile to skip javah from NAR
add jni config for maven-compiler-plugin
Getting fatal error LNK1104: cannot open file 'it0031-push-deps-to-lowest-order-B-1.0-SNAPSHOT.lib'
You may see this error when the path for filename expands to more than 260 characters.
If needed, rearrange your directory structure or shorten your folder and file names to shorten the paths.

Provide property default to match plugin default, and allow setting alternate from command line
@GregDomjan GregDomjan force-pushed the feature/default-binding branch from 0968657 to 05994c1 Compare July 27, 2021 02:57
@GregDomjan GregDomjan merged commit b1bcfcf into master Aug 6, 2021
@GregDomjan GregDomjan deleted the feature/default-binding branch August 6, 2021 10:41
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant