Reactivate cURL git submodule

- Fix commands in `README.md`

Signed-off-by: Christian Blichmann <cblichmann@google.com>
This commit is contained in:
Christian Blichmann 2021-01-06 15:52:39 +01:00
parent 195ac67c9d
commit 4ff125df7a
No known key found for this signature in database
GPG Key ID: 19DC5E747974E966
2 changed files with 9 additions and 3 deletions

View File

@ -5,7 +5,7 @@ This library is a sandboxed version of curl's C API,
## Setup ## Setup
The repository can be cloned using: `git clone --recursive [URL to this repo]` The repository can be cloned using: `git clone --recursive <URL to this repo>`
The `--recursive` flag ensures that submodules are also cloned. The `--recursive` flag ensures that submodules are also cloned.
Alternatively, if the repository has already been cloned but the submodules have Alternatively, if the repository has already been cloned but the submodules have
@ -15,8 +15,13 @@ The full list of Sandboxed API dependencies can be found on
[Sandboxed API Getting Started page](https://developers.google.com/sandboxed-api/docs/getting-started). [Sandboxed API Getting Started page](https://developers.google.com/sandboxed-api/docs/getting-started).
The following commands, used from the current `curl/` directory, build the The following commands, used from the current `curl/` directory, build the
library: `mkdir -p build cd build cmake .. -G Ninja -D SAPI_ROOT=[path to library:
sandboxed-api] cmake --build .`
```bash
mkdir -p build && cd build
cmake .. -G Ninja -D SAPI_ROOT=<path to sandboxed-api>
cmake --build .
```
## Implementation details ## Implementation details

@ -0,0 +1 @@
Subproject commit f52c6981c53ae55b3f9e9179c698a66bd2f7b655