mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
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.
This commit is contained in:
parent
0898ada696
commit
7e63fd535e
34
README.md
34
README.md
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user