Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is work in progress. It defines
BUILD_SHARED_LIBS
as an option, which if disabled, passes--disabled-shared
to the lwgrp and dtcmp configure line to disable shared library builds of those.We'd need to similarly update the other components perhaps by dropping
SHARED
from theirADD_LIBRARY
statements.A quick test with SCR's cmake shows we'd also need changes to the builds of the example programs.
I think we'd at least need to add a
-llwgrp
, but to do that, we also need aFind_Package(LWGRP)
. Not sure how many dominoes might fall chasing this path.