Skip to content

Make closure compiler configurable? #25

@maxime-tournier

Description

@maxime-tournier

Hi,

When upgrading emscripten-glfw to a recent version I noticed my release build starting throwing exceptions when trying to access mod.FS.mkdir.

This does not happen with debug builds, which helped my narrow it down to the closure compiler doing something wrong. My current workaround is to simply modify emscripten-glfw cmake files to avoid passing "$<$<CONFIG:Release>:--closure=1>" in link flags.

It's obviously a bug in emscripten's closure compiler and I'll file an issue there as well, but in the meantime how about adding a cmake option to control this behavior? I can file a PR if you want me to.

Best regards,

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