diff options
author | Camila Ayres <hello@camila.codes> | 2018-07-16 12:09:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-16 12:09:05 +0300 |
commit | 7e63fd535e5fdce349aa94df800022fbc83fe826 (patch) | |
tree | 5890a4bbc8edd8e68639ec7643537aca29724801 /README.md | |
parent | 0898ada6960b61ff808017fa7949f629f194eda1 (diff) |
Updates the README with build instructions.
- Adds a shorter version of how to build the client but the extended version will be kept on the Wiki.
- Makes the instructions available if you clone the repo and work offline.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 34 |
1 files changed, 32 insertions, 2 deletions
@@ -7,8 +7,38 @@ with your computer. ### :hammer_and_wrench: How to compile the desktop client -- Instructions for compiling the client on Linux, Windows and mac OS can be found at: -[Wiki/How to compile the desktop client](https://github.com/nextcloud/desktop/wiki/How-to-compile-the-desktop-client). +#### :memo: Step by step instructions + +##### Clone the repo and create build directory +``` +$ git clone git@github.com:nextcloud/desktop.git +$ cd desktop +$ mkdir build +``` +##### Compile and install + +##### Linux + +``` +$ cmake .. -DCMAKE_INSTALL_PREFIX=path-to-install-folder/ -DCMAKE_BUILD_TYPE=Debug -DNO_SHIBBOLETH=1 +$ make install +``` + +##### Windows + +``` +$ cmake -G "Visual Studio 15 2017 Win64" .. -DCMAKE_INSTALL_PREFIX=path-to-install-folder/ -DCMAKE_BUILD_TYPE=Debug -DNO_SHIBBOLETH=1 +$ cmake --build . --config Debug --target install +``` + +##### Mac OS + +``` +$ cmake .. -DCMAKE_INSTALL_PREFIX=path-to-install-folder/ -DCMAKE_BUILD_TYPE=Debug -DNO_SHIBBOLETH=1 +$ make install +``` + +More detailed instructions can be found at the [Desktop Client Wiki](https://github.com/nextcloud/desktop/wiki). ### :inbox_tray: Where to find binaries to download |