summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-27 14:11:47 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-27 14:11:47 -0800
commitf4344179717ac5b5110b302ff52f953187188e16 (patch)
treeb7f968cf8bb72c37933f881279443ea2e12d7903 /INSTALL
parent579c566bbe9a5dc5167aae0971d6e312a93e85bc (diff)
downloadsubsurface-f4344179717ac5b5110b302ff52f953187188e16.tar.gz
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>
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL15
1 files changed, 14 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index 7fb57b5ca..1c980bbbf 100644
--- a/INSTALL
+++ b/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