[doc] update readme to the new build tools and remove refs to milepost submodule

This commit is contained in:
Martin Fouilleul 2023-08-09 12:18:52 +02:00
parent e0662f3387
commit 4d11ed1be7
1 changed files with 20 additions and 21 deletions

View File

@ -1,29 +1,28 @@
# Install # Installing
Clone the repo with the `--recurse-submodules` option. Clone the repo: `git clone git@git.handmade.network:hmn/orca.git`.
Get and build ANGLE (see `milepost/ext/angle_install_notes.md`), and put `libEGL.dylib` and `libGLESv2.dylib` in `milepost/bin`. Cd to orca and build the runtime:
Cd to orca and build milepost (the platform layer), wasm3 (the wasm runtime), then orca:
``` ```
cd Orca cd orca
./build.sh milepost ./orca dev build-runtime
./build.sh wasm3
./build.sh orca
``` ```
Build the sample orca app: Install the orca tools:
```
pushd samples/pong ; ./build.sh ; popd
```
This creates a `Pong.app` bundle in `samples/pong` that you can double click to run.
You can also build milepost example apps like so:
``` ```
cd milepost ./orca dev install
pushd examples/canvas ; ./build.sh ; popd
pushd examples/perf_text ; ./build.sh ; popd
pushd examples/tiger ; ./build.sh ; popd
``` ```
# Building the sample orca apps:
Cd to the sample project directory and run its build script:
```
cd samples/pong
./build.sh
```
On macOS this creates a `Pong.app` bundle in `samples/pong` that you can double click to run.
On Windows this creates a `Pong` directory in `samples/pong`. You can launch the app by running `Pong/bin/orca.exe`.