зеркало из https://github.com/nextcloud/desktop.git
Merge pull request #4201 from owncloud/jnweiger-patch-1
improved linux build instructions.
This commit is contained in:
Коммит
e67bb1c5ce
|
@ -193,25 +193,26 @@ You can download the desktop sync client from the ownCloud `Client Download Page
|
|||
|
||||
To build the most up to date version of the client:
|
||||
|
||||
1. Clone the latest versions of the client from Git_ as follows:
|
||||
1. Clone the latest versions of the client from Git_ as follows::
|
||||
|
||||
``git clone git://github.com/owncloud/client.git``
|
||||
``git submodule init``
|
||||
``git submodule update``
|
||||
git clone git://github.com/owncloud/client.git
|
||||
cd client
|
||||
git submodule init
|
||||
git submodule update
|
||||
|
||||
2. Create the build directory:
|
||||
2. Create the build directory::
|
||||
|
||||
``mkdir client-build``
|
||||
``cd client-build``
|
||||
mkdir client-build
|
||||
cd client-build
|
||||
|
||||
3. Configure the client build:
|
||||
3. Configure the client build::
|
||||
|
||||
``cmake -DCMAKE_BUILD_TYPE="Debug" ../client``
|
||||
cmake -DCMAKE_BUILD_TYPE="Debug" ..
|
||||
|
||||
..note:: You must use absolute paths for the ``include`` and ``library``
|
||||
.. note:: You must use absolute paths for the ``include`` and ``library``
|
||||
directories.
|
||||
|
||||
..note:: On Mac OS X, you need to specify ``-DCMAKE_INSTALL_PREFIX=target``,
|
||||
.. note:: On Mac OS X, you need to specify ``-DCMAKE_INSTALL_PREFIX=target``,
|
||||
where ``target`` is a private location, i.e. in parallel to your build
|
||||
dir by specifying ``../install``.
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче