mirror of https://github.com/mode777/rayjs.git
extend readme
This commit is contained in:
parent
1d56b6afd1
commit
1e2d32ed3a
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
|
@ -27,7 +27,7 @@ while (!windowShouldClose()) // Detect window close button or ESC key
|
|||
//----------------------------------------------------------------------------------
|
||||
// TODO: Update your variables here
|
||||
//----------------------------------------------------------------------------------
|
||||
|
||||
|
||||
// Draw
|
||||
//----------------------------------------------------------------------------------
|
||||
beginDrawing();
|
||||
|
|
16
readme.md
16
readme.md
|
@ -1,12 +1,20 @@
|
|||
![rayjs logo](./doc/logo.png)
|
||||
# rayjs - Javascript Bindings for Raylib
|
||||
Javascript bindings for raylib in a single ~3mb executable
|
||||
## Building
|
||||
|
||||
Rayjs is using cmake for building
|
||||
|
||||
```
|
||||
### Check out required files
|
||||
```bash
|
||||
git clone https://github.com/mode777/rayjs.git
|
||||
git submodule update --init --recursive
|
||||
```
|
||||
|
||||
Build target `rayjs` with cmake as usual
|
||||
### Build with cmake
|
||||
Make sure you have cmake installed and in your path.
|
||||
```bash
|
||||
cd rayjs
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make
|
||||
```
|
Loading…
Reference in New Issue