forked from repomaa/KeepassX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
30 lines (26 loc) · 783 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Building:
=========
mkdir build
cd build
cmake .. [CMAKE PARAMETERS]
make [-jX]
Common cmake parameters:
========================
-DCMAKE_INSTALL_PREFIX=/usr/local
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=<RelWithDebInfo/Debug/Release>
-DWITH_GUI_TESTS=ON
Installing:
===========
make install [DESTDIR=X]
Run tests:
==========
make test [CTEST_OUTPUT_ON_FAILURE=1] [ARGS+=-jX] [ARGS+="-E testgui"]
Building on Mac OS X:
=====================
Install macports and cmake
Open /opt/local/etc/macports/macports.conf and set the architecture(s) you want to build for.
Run: sudo port install qt4-mac libgcrypt zlib
If you want to build a universal binary append " +universal" to the above command.
Pass -DCMAKE_OSX_ARCHITECTURES="<ARCH1>;<ARCH2>" to cmake
Run: make package