[build][cmake] Review web compilation system (#5181)

* [cmake] export automatically raylib definitions and compile/link options

* [cmake] pass emscripten options to consumer project

* [web] compile for web

* [web] canvas width 100%
This commit is contained in:
Bruno Cabral
2025-09-14 01:05:07 -07:00
committed by GitHub
parent c9b1f2ce54
commit b281101001
6 changed files with 34 additions and 94 deletions

View File

@@ -34,7 +34,7 @@
<link rel="shortcut icon" href="https://www.raylib.com/favicon.ico">
<style>
body { font-family: arial; margin: 0; padding: none; }
body { font-family: arial; margin: 0; padding: unset; }
#header {
width: 100%;