Skip to content

Using pre-built library? #26

@Fuuzetsu

Description

@Fuuzetsu

It appears glfw-sys will always compile glfw for whatever the target system is.

However we control the build system precisely and have the ability to provide it with pre-built glfw. It seems a shame/pointless to compile anyway: instead of giving it pre-built library, we instead give it all the tools to build one...

A lot of other *-sys crates allow specifying existing libraries with things like pkg-config which can also ensure all the libraries are properly presented when linking binaries later on.

Is there a reason why glfw needs to be pre-built? I'm a little confused if this is actually a requirement: the README mentions that Windows users can download pre-built glfw binaries. If so, that should imply that it's possible to use pre-compiled libraries, somehow.

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