From d754b6ac2da03d88939d5d2b9b251bc176ab5d87 Mon Sep 17 00:00:00 2001 From: Stefan Weng Date: Fri, 20 Mar 2020 20:36:31 +0100 Subject: [PATCH] Add local build instructions --- .gitignore | 1 + README.md | 28 +++++++++++++++++++++++----- 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 359f5f2..83b58d6 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ qrc_*.cpp documentation.list *.qm *.pro.user +build/ diff --git a/README.md b/README.md index 71573f7..aa182b2 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,27 @@ asteroidsyncserviced is a daemon relying on libasteroid to synchronize data from ## Building -To build asteroidsyncservice, all submodules must be loaded. - `git submodule update --init` +To build asteroidsyncservice, all submodules must be loaded. -Current qmake build configurations: - - Starfish: CONFIG+=starfish - - Telescope: CONFIG+=telescope + - `git submodule update --init` + +Current qmake build configuration options: + + - `Starfish: CONFIG+=starfish` + - `Telescope: CONFIG+=telescope` + +Install bluetooth + + - `sudo apt-get install qtconnectivity5-dev` + +Create build dir + + - `mkdir build && cd build` + +Run qmake: + + - `qmake -makefile -o Makefile "CONFIG+=telescope" ../asteroidsyncservice.pro` + +Run make: + + - `make`