google / google/filament

Option to enable Shared libraries build

Open
#1,075 5 comments 3 reactions 3 assignees Assigned to @romainguy View on GitHub
build
Dominant language
C++
Stars
20.5k
Forks
2.3k
Avg merge
2d 16h
Merged PRs (30d)
74

Description

I have created the AUR package `filament` (https://aur.archlinux.org/packages/filament/) in order to make access to the library for Arch users.

Since it makes more sense to have shared libraries for a distribution package, I would like to use CMake option `BUILD_SHARED_LIBS` to build shared libraries.

I'm wondering if there is a reason why all libraries are explicitly forced to static build?
Without `STATIC` keyword in `add_library`, CMake is building static library anyway.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.