diff options
author | Benjamin Barenblat <bbaren@google.com> | 2021-02-01 15:09:37 -0500 |
---|---|---|
committer | Benjamin Barenblat <bbaren@google.com> | 2021-02-01 17:35:50 -0500 |
commit | add4f0914939d1f9ab894bfab02e3775f10af469 (patch) | |
tree | 531b5be59ea079521116f8d342afcec49ba79a6e /README.md | |
parent | 523c1be8407ff513dfdc8f13a707a1a9ade168a2 (diff) |
Set up build system
Create a trivial C++ program and make it buildable via Ninja.
Reviewed-by: Alex Chernyakhovsky <achernya@google.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -23,6 +23,16 @@ object once its upload has completed. If you run twice, the second invocation will skip uploading altogether and only run the integrity-checking code. +## Building + +`gsrsup` builds using a handwritten [Ninja](https://ninja-build.org/) file. +Simply run `ninja` to create a development build. You can also run Ninja with a +custom build file to request a different profile: + + - `ninja -f buildconf/asan.ninja`: Build with AddressSanitizer. + - `ninja -f buildconf/dbg.ninja`: Build for debugging. + - `ninja -f buildconf/release.ninja`: Build with optimizations. + --- This is not an official Google product. |