mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Updated README
This commit is contained in:
parent
9bc3d123a9
commit
11a7125341
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user