edited readme

This commit is contained in:
arcan1s 2014-07-28 12:04:33 +04:00
parent 7512440734
commit fb329dcc7e

View File

@ -78,16 +78,29 @@ Make dependencies
Installation
------------
### Build as a single application ###
* download sources
* extract it and install the application:
* extract it and set up your configuration
* install the application:
cd /path/to/extracted/archive
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ../
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_AS_LIBRARY:BOOL=0 ../
make
sudo make install
Available cmake flags:
### Add to your project ###
* download sources
* extract it and set up your configuration
* include it into your project. For example if you use `cmake` just add the following line into `CMakeLists.txt`:
add_subdirectory (reportabug)
* link your application with this library
### Available cmake flags ###
* `-DBUILD_AS_LIBRARY:BOOL=0` - build the application but not a shared library
* `-DUSE_QT5:BOOL=0` - use Qt4 instead of Qt5 for GUI