mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 00:03:24 +00:00
Improvements to INSTALL instructions
Some words about cross building Marble and a hint about Debug vs. Release builds Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
579c566bbe
commit
f434417971
1 changed files with 14 additions and 1 deletions
15
INSTALL
15
INSTALL
|
@ -53,6 +53,8 @@ $ mkdir -p ~/src/marble/build
|
|||
$ git clone -b KDE/4.11 git://anongit.kde.org/marble ~/src/marble/sources
|
||||
$ cd ~/src/marble/build
|
||||
$ cmake -DCMAKE_BUILD_TYPE=Debug -DQTONLY=TRUE -DCMAKE_INSTALL_PREFIX=/usr/local ../sources
|
||||
- or -
|
||||
$ cmake -DCMAKE_BUILD_TYPE=Release -DQTONLY=TRUE -DCMAKE_INSTALL_PREFIX=/usr/local ../sources
|
||||
$ cd src/lib
|
||||
$ make -j4
|
||||
$ cp *dylib /usr/local/lib/
|
||||
|
@ -100,13 +102,24 @@ included in the packaging/Windows directory.
|
|||
|
||||
The best way to get libdivecomputer to build appears to be
|
||||
|
||||
$ git clone git://libdivecomputer.git.sourceforge.net/gitroot/libdivecomputer/libdivecomputer
|
||||
$ git clone git://git.libdivecomputer.org/libdivecomputer
|
||||
$ cd libdivecomputer
|
||||
$ git checkout release-0.4
|
||||
$ mingw32-configure --disable-shared
|
||||
$ mingw32-make
|
||||
$ sudo mingw32-make install
|
||||
|
||||
To compile Marble, use:
|
||||
|
||||
$ mkdir -p ~/src/marble/build
|
||||
$ git clone -b v4.11.2 git://anongit.kde.org/marble ~/src/marble/sources
|
||||
$ cd ~/src/marble/build
|
||||
$ mingw32-cmake -DCMAKE_BUILD_TYPE=Debug -DQTONLY=TRUE ../sources
|
||||
- or -
|
||||
$ mingw32-cmake -DCMAKE_BUILD_TYPE=Release -DQTONLY=TRUE ../sources
|
||||
$ mingw32-make -j4
|
||||
$ mingw32-make install
|
||||
|
||||
To compile Subsurface, use:
|
||||
|
||||
$ git clone git://subsurface.hohndel.org/subsurface.git
|
||||
|
|
Loading…
Add table
Reference in a new issue