Skip to content

Support building both static and shared libs #48

@nh2

Description

@nh2

Hi, thanks for the library!

in

# Target
if ( E57_BUILD_SHARED )
message( STATUS "[E57] Building shared library" )
add_library( E57Format SHARED )
else()
message( STATUS "[E57] Building static library" )
add_library( E57Format STATIC )
endif()
it makes building static and shared libs mutually exclusive.

Would it be possible to allow building both (I believe cmake supports that by default)?

This would make life for distribution packagers easier.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions