Skip to content

Building examples is attempted when imported as a library #1

Description

@voidKandy

Currently, build.zig always attempts to build all the examples, even when zyph is imported as a library. This is generally smelly and leads to needless build logs from the application using zyph as a dependency warning the user that the example directory failed to build.

It would be much better if the examples binaries were only built when zyph itself is the root module.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions