Merge pull request #75 from cblichmann:modules

PiperOrigin-RevId: 350351630
Change-Id: I3ccbadd8a12dee2ede87b9aeece95a115553c29c
This commit is contained in:
Copybara-Service 2021-01-06 07:49:59 -08:00
commit f2e4817509
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