Skip to content

build system cleanup request: use cmake's built in shared library handling options instead of manually setting both static and shared build #69

Description

@weatherhead99

the cmake built in option "BUILD_SHARED_LIBS" has, since about a decade, automatically built shared vs static on an unqualiofied "add_library" call. At the moment we explicitly pass either STATIC or SHARED to every library which is unnecessary. If there are situations where we absolutely require both static and shared builds understood this should remain, but I can't think of what they are. Perhaps just my naive ignorance..

Cheers,
DW

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions