Update README.md

This commit is contained in:
Hermet Park 2023-09-26 22:43:38 +09:00 committed by GitHub
parent 2b7c47f2b5
commit 0e3b3d3095
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,7 +79,7 @@ ThorVG supports [meson](https://mesonbuild.com/) build system. Install [meson](h
Run meson to configure ThorVG in the thorvg root folder. Run meson to configure ThorVG in the thorvg root folder.
``` ```
meson builddir meson setup builddir
``` ```
Run ninja to build & install ThorVG: Run ninja to build & install ThorVG:
``` ```
@ -94,7 +94,7 @@ Note that some systems might include ThorVG package as a default component. In t
### Build with Visual Studio ### Build with Visual Studio
If you want to create Visual Studio project files, use the command --backend=vs. The resulting solution file (thorvg.sln) will be located in the build folder. If you want to create Visual Studio project files, use the command --backend=vs. The resulting solution file (thorvg.sln) will be located in the build folder.
``` ```
meson build --backend=vs meson setup builddir --backend=vs
``` ```
</br> </br>
@ -335,7 +335,7 @@ here are plenty of sample code in `thorvg/src/examples` to help you in understan
To execute these examples, you can build them with the following meson build option: To execute these examples, you can build them with the following meson build option:
``` ```
meson . build -Dexamples=true meson setup . builddir -Dexamples=true
``` ```
Note that these examples require the EFL dev package for launching. If you're using Linux-based OS, you can easily install this package from your OS distribution server. For Ubuntu, you can install it with this command. Note that these examples require the EFL dev package for launching. If you're using Linux-based OS, you can easily install this package from your OS distribution server. For Ubuntu, you can install it with this command.
``` ```
@ -364,7 +364,7 @@ ThorVG provides an executable `svg2png` converter that generates a PNG file from
To use the `svg2png`, you must turn on this feature in the build option: To use the `svg2png`, you must turn on this feature in the build option:
``` ```
meson . build -Dtools=svg2png meson setup . builddir -Dtools=svg2png
``` ```
Alternatively, you can add the `svg2png` value to the `tools` option in `meson_option.txt`. The build output will be located in `{builddir}/src/bin/svg2png/`. Alternatively, you can add the `svg2png` value to the `tools` option in `meson_option.txt`. The build output will be located in `{builddir}/src/bin/svg2png/`.
<br /> <br />
@ -399,7 +399,7 @@ ThorVG provides an executable `svg2tvg` converter that generates a TVG file from
To use `svg2tvg`, you need to activate this feature in the build option: To use `svg2tvg`, you need to activate this feature in the build option:
``` ```
meson . build -Dtools=svg2tvg meson setup . builddir -Dtools=svg2tvg
``` ```
Alternatively, you can add the `svg2tvg` value to the `tools` option in `meson_option.txt`. The build output will be located in `{builddir}/src/bin/svg2tvg/`. Alternatively, you can add the `svg2tvg` value to the `tools` option in `meson_option.txt`. The build output will be located in `{builddir}/src/bin/svg2tvg/`.
@ -421,7 +421,7 @@ Our main development APIs are written in C++, but ThorVG also provides API bindi
To enable CAPI binding, you need to activate this feature in the build options: To enable CAPI binding, you need to activate this feature in the build options:
``` ```
meson . build -Dbindings="capi" meson setup . builddir -Dbindings="capi"
``` ```
[Back to contents](#contents) [Back to contents](#contents)
<br /> <br />