Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added emscripten support #36

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Added emscripten support #36

wants to merge 3 commits into from

Conversation

wernsey
Copy link

@wernsey wernsey commented Oct 15, 2024

Hi, thank you for fenster. It is really nice to just drop the file into a directory and have a demo ready to go.

I spent some time adding support for emscripten in my fork because I wanted my demo to be runnable in a web browser as well.

I've modified the makefile in the drawing-c example to demonstrate how to build it once your emscripten environment is set up. It will create an output directory web/ that contains all the HTML, JavaScript and wasm files. There is also a serve target in the Makefile that will use Python3's http module to serve the application on http://localhost:9000/ for testing purposes .

@CardealRusso
Copy link

SDL seems inappropriate for Fenster.

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.

3 participants