add instruction for building libsimpleservo

This commit is contained in:
Simon Schmeisser 2020-12-28 21:34:15 +01:00 committed by GitHub
parent c0abe7413f
commit d2915a8ff9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,11 @@
# libsimpleservo
This is a basic wrapper around Servo. While libservo itself (/components/servo/) offers a lot of flexibility, This is a basic wrapper around Servo. While libservo itself (/components/servo/) offers a lot of flexibility,
libsimpleservo (/ports/libsimpleservo/) tries to make it easier to embed Servo, without much configuration needed. libsimpleservo (/ports/libsimpleservo/) tries to make it easier to embed Servo, without much configuration needed.
It is limited to only one view (no tabs, no multiple rendering area). It is limited to only one view (no tabs, no multiple rendering area).
## Building
Run the following command to generate `libsimpleservo`
```
./mach build --release --libsimpleservo
```
this will generate a shared library (`libsimpleservo.so` on linux) as well as a header file in `target/release` that you can then link to your application.