From add4f0914939d1f9ab894bfab02e3775f10af469 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Mon, 1 Feb 2021 15:09:37 -0500 Subject: Set up build system Create a trivial C++ program and make it buildable via Ninja. Reviewed-by: Alex Chernyakhovsky --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index ca640a3..a3eb51f 100644 --- a/README.md +++ b/README.md @@ -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. -- cgit v1.2.3