From e189ef84776fb86a18f6eb0310e38174a454a6f3 Mon Sep 17 00:00:00 2001 From: rleonard21 Date: Fri, 18 May 2018 00:26:55 -0400 Subject: [PATCH] Added install script and updated readme --- README.md | 8 +++++++- install.sh | 9 +++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100755 install.sh diff --git a/README.md b/README.md index 8881b7f..0a9f580 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,13 @@ This is a forkable repository that handles the boilerplate of building and integ ## Building -This project and C++ Requests both use CMake. The first step is to make sure all of the submodules are initialized: +This project and C++ Requests both use CMake. Unix users can use the install script to automatically build the project: + +``` +./install.sh +``` + +Otherwise, the project can be built manually. The first step is to make sure all of the submodules are initialized: ``` git submodule update --init --recursive diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..319846f --- /dev/null +++ b/install.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +git submodule update --init --recursive + +mkdir build +cd build + +cmake .. +make