Skip to content

Conversation

waywardmonkeys
Copy link
Contributor

This allows either building a distribution of the library and headers via cmake or using it via FetchContent.

@waywardmonkeys waywardmonkeys marked this pull request as draft January 27, 2024 16:55
@waywardmonkeys
Copy link
Contributor Author

This has a lot to be done yet and I've left some TODO comments with either notes about things to do yet or questions to be resolved at some point.

cc: @eliemichel

This allows either building a distribution of the library and headers
via cmake or using it via `FetchContent`.

find_program(WGPU_NATIVE_CARGO_BINARY cargo)

# TODO: Use Corrosion instead?
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked out Corrosion and it seems to provide everything we need. Let's try using that.
https://corrosion-rs.github.io/corrosion/usage.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants