Mercurial > retraceit
annotate INSTALL @ 57:2cd76e6c0fcf
Add MacOS build support
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 19 May 2015 15:36:00 +0200 |
parents | 147b08bc7d64 |
children | 3acafcfc52a1 |
rev | line source |
---|---|
0
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
1 /** @file INSTALL |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
2 @brief Installation Instructions |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
3 ******************************* |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
4 |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
5 For Debian based GNU / Linux |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
6 ============================ |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
7 Tested development platform: Ubuntu 14.4 amd64. |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
8 |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
9 Build dependencies are: |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
10 build-essential cmake libqt5core5a qttools5-dev-tools qt5-default \ |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
11 qtbase-dev qtbase5-dev-tools qttools5-dev inkscape |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
12 |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
13 |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
14 This document expects the following setup for build and installation. |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
15 It is recommended to set a custom installation prefix to avoid root |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
16 privileges. |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
17 |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
18 export CUSTOM_PREFIX=<Prefix of your choice (default /usr)> |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
19 mkdir -p $CUSTOM_PREFIX/bin |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
20 export PATH=$CUSTOM_PREFIX/bin:$PATH |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
21 |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
22 Building the Software: |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
23 cd <PATH_TO_REPO> |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
24 mkdir build-native |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
25 cd build-native |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
26 cmake .. -DCMAKE_PREFIX_PATH=$CUSTOM_PREFIX |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
27 |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
28 For Microsoft Windows |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
29 ===================== |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
30 The Windows variant should be cross compiled from a Debian based GNU/Linux |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
31 system. The minimum requirement is Debian stable. |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
32 |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
33 Tested development platform is Ubuntu 14.4 |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
34 |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
35 Dependencies on the Host system: |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
36 |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
37 apt-get install git autoconf automake bash bison bzip2 \ |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
38 cmake flex gettext git g++ intltool \ |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
39 libffi-dev libtool libltdl-dev libssl-dev \ |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
40 libxml-parser-perl make openssl patch perl \ |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
41 pkg-config scons sed unzip curl xz-utils autopoint \ |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
42 gperf |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
43 |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
44 Build the windows binaries: |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
45 |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
46 MXEPATH=$CUSTOM_PREFIX/win |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
47 git clone https://github.com/Intevation/mxe.git $MXEPATH |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
48 cd $MXEPATH |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
49 git checkout replay-it |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
50 echo "MXE_TARGETS := i686-w64-mingw32.static" > settings.mk |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
51 make qtbase |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
52 |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
53 Add CMAKE_STRIP to the toolchain file: |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
54 |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
55 echo "set(CMAKE_STRIP $MXEPATH/usr/bin/i686-w64-mingw32.static-strip)" >> \ |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
56 "$MXEPATH/usr/i686-w64-mingw32.static/share/cmake/mxe-conf.cmake" |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
57 |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
58 Compile the software: |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
59 |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
60 cd repo |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
61 mkdir build-windows |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
62 cd build-windows |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
63 MXETARGET=$MXEPATH/usr/i686-w64-mingw32.static/ |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
64 cmake .. \ |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
65 -DCMAKE_PREFIX_PATH="$MXETARGET/qt5;$MXETARGET;" \ |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
66 -DCMAKE_TOOLCHAIN_FILE="$MXETARGET/share/cmake/mxe-conf.cmake" \ |
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
67 -DCMAKE_VERBOSE_MAKEFILE=True |
57
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
68 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
69 For MacOSX |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
70 ========== |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
71 Install the usual development tools / xcode. |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
72 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
73 Define some paths for the build environment: |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
74 export CUSTOM_PREFIX=~/retraceit |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
75 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
76 export PATH=$CUSTOM_PREFIX/bin:$PATH |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
77 export DYLD_LIBRARY_PATH=$CUSTOM_PREFIX/lib:$DYLD_LIBRARY_PATH |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
78 export PKG_CONFIG_PATH=$CUSTOM_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
79 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
80 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
81 Download qt: |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
82 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
83 curl -O http://qt-mirror.dannhauer.de/official_releases/qt/5.3/5.3.2/single/qt-everywhere-opensource-src-5.3.2.tar.xz |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
84 shasum qt-everywhere-opensource-src-5.3.2.tar.xz |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
85 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
86 Should match: fb156a87a193c9a7a2fa51efc89660a3b619ace5 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
87 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
88 Build and extract: |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
89 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
90 tar -xf qt-everywhere-opensource-src-5.3.2.tar.xz |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
91 cd qt-everywhere-opensource-src-5.3.2/qtbase |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
92 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
93 ./configure \ |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
94 -release -nomake tests -nomake examples -confirm-license \ |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
95 -static -no-cups -no-nis -no-icu -no-fontconfig -qt-freetype \ |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
96 -no-directfb -no-kms -no-openssl -no-glib \ |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
97 -no-nis -no-libjpeg -qt-libpng \ |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
98 -qt-zlib -no-gif -no-xinput2 -opensource -confirm-license \ |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
99 -prefix $CUSTOM_PREFIX -no-framework |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
100 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
101 make -j `sysctl hw.ncpu | cut -f 2 -d " "` |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
102 make install |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
103 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
104 Download mercurial: |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
105 wget https://mercurial.selenic.com/mac/binaries/Mercurial-3.4-py2.7-macosx10.10.zip |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
106 shasum Mercurial-3.4-py2.7-macosx10.10.zip |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
107 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
108 Should match: 1380790ae7f7d8060e937d386be3103c173e450d |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
109 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
110 unzip Mercurial-3.4-py2.7-macosx10.10.zip |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
111 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
112 Install the .mpkg |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
113 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
114 Configure to be usable with wald certificate |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
115 echo "[web]" >> ~/.hgrc |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
116 echo "cacerts=~/wald-ca.pem" >> ~/.hgrc |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
117 curl https://ssl.intevation.de/Intevation-Root-CA-2010.crt > ~/wald-ca.pem |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
118 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
119 Download cmake: |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
120 curl -O http://www.cmake.org/files/v3.2/cmake-3.2.2-Darwin-x86_64.dmg |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
121 shasum cmake-3.2.2-Darwin-x86_64.dmg |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
122 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
123 Should match: d0f4172a3c72764f06146e4f949367c8029e71ed |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
124 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
125 Install the .dmg and add cmake to the path. |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
126 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
127 export PATH=/Volumes/Macintosh\ HD/Applications/CMake.app/Contents/bin/:$PATH |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
128 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
129 Now for retraceit: |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
130 |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
131 hg clone https://wald.intevation.org/hg/retraceit/ |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
132 cd retraceit |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
133 mkdir build && cd buld |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
134 cmake .. \ |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
135 -DCMAKE_PREFIX_PATH=$CUSTOM_PREFIX \ |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
136 -DCMAKE_INSTALL_PREFIX=$CUSTOM_PREFIX \ |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
137 -DCMAKE_VERBOSE_MAKEFILE=True |
2cd76e6c0fcf
Add MacOS build support
Andre Heinecke <andre.heinecke@intevation.de>
parents:
0
diff
changeset
|
138 |
0
147b08bc7d64
Initial commit of a basic Application framework.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
139 */ |