From 11a7125341d7152a4560bcacb3368f9431a11fd4 Mon Sep 17 00:00:00 2001 From: Andrei Medar Date: Wed, 23 Sep 2020 17:21:15 +0000 Subject: [PATCH] Updated README --- oss-internship-2020/sapi_lodepng/README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/oss-internship-2020/sapi_lodepng/README.md b/oss-internship-2020/sapi_lodepng/README.md index 662dcfa..0984f4b 100644 --- a/oss-internship-2020/sapi_lodepng/README.md +++ b/oss-internship-2020/sapi_lodepng/README.md @@ -10,16 +10,21 @@ Even if many of the functions from the library can be sandboxed, there are some ## Patches -In the **patches** folder there is a patch file that adds **extern "C"** to the required functions in the header file in order to sandbox them. This patch is applied automatically during the build phase. +In the **patches** folder there is a patch file that adds `extern "C"` to the required functions in the header file in order to sandbox them. This patch is applied automatically during the build phase. ## Build First, run `git submodule update --init --recursive` to update submodules. After this, run the following commands: + `mkdir -p build && cd build` + `cmake .. -G Ninja` -`ninja` -The example binary files can be found in `build/examples` + +`cmake --build .` + + +The example binary files can be found in `build/examples`. ## Examples