Skip to content

Add option to build library as a shared object. #150

Open
@ZzEeKkAa

Description

@ZzEeKkAa

I see currently library is being built as a static library. That makes every project that uses this library inject the code inside their program. Instead it can be built as a dynamic library (.so on linux and .dll on windows) and link dynamically on the runtime. It will reduce size of the result binaries and will get an option to users to update ittapi library without updating application (if the ABI is compatible).

My question is if it possible to add shared target to the build? It should be as easy as removing STATIC keyword from add_library and then it can be controlled with BUILD_SHARED_LIBS argument. Or there is a reason why it can't be loaded as a shared library?

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