0
0
mirror of https://github.com/keepassxreboot/keepassxc.git synced 2024-09-19 20:02:18 +02:00

Add instructions for build on Mac OS X.

This commit is contained in:
Felix Geyer 2012-05-28 12:11:44 +02:00
parent a22308b13b
commit 1342a66881

View File

@ -19,3 +19,12 @@ 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