2011-12-29 17:24:01 -05:00
|
|
|
Building:
|
|
|
|
=========
|
|
|
|
mkdir build
|
|
|
|
cd build
|
2012-04-25 14:22:44 -04:00
|
|
|
cmake .. [CMAKE PARAMETERS]
|
2011-12-29 17:24:01 -05:00
|
|
|
make [-jX]
|
|
|
|
|
2012-04-25 14:22:44 -04:00
|
|
|
Common cmake parameters:
|
|
|
|
========================
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr/local
|
|
|
|
-DCMAKE_VERBOSE_MAKEFILE=ON
|
|
|
|
-DCMAKE_BUILD_TYPE=<RelWithDebInfo/Debug/Release>
|
|
|
|
-DWITH_GUI_TESTS=ON
|
|
|
|
|
2011-12-29 17:24:01 -05:00
|
|
|
Installing:
|
|
|
|
===========
|
|
|
|
make install [DESTDIR=X]
|
|
|
|
|
|
|
|
Run tests:
|
|
|
|
==========
|
|
|
|
make test [CTEST_OUTPUT_ON_FAILURE=1] [ARGS+=-jX] [ARGS+="-E testgui"]
|
2012-05-28 06:11:44 -04:00
|
|
|
|
|
|
|
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
|