mirror of
https://github.com/arcan1s/reportabug.git
synced 2025-04-24 15:27:18 +00:00
edited readme
This commit is contained in:
parent
7512440734
commit
fb329dcc7e
23
README.md
23
README.md
@ -78,19 +78,32 @@ Make dependencies
|
|||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
### Build as a single application ###
|
||||||
|
|
||||||
* download sources
|
* download sources
|
||||||
* extract it and install the application:
|
* extract it and set up your configuration
|
||||||
|
* install the application:
|
||||||
|
|
||||||
cd /path/to/extracted/archive
|
cd /path/to/extracted/archive
|
||||||
mkdir build && cd build
|
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
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
|
|
||||||
Available cmake flags:
|
### Add to your project ###
|
||||||
|
|
||||||
* `-DBUILD_AS_LIBRARY:BOOL=0` - build the application but not a shared library
|
* download sources
|
||||||
* `-DUSE_QT5:BOOL=0` - use Qt4 instead of Qt5 for GUI
|
* 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
|
||||||
|
|
||||||
Additional information
|
Additional information
|
||||||
======================
|
======================
|
||||||
|
Loading…
Reference in New Issue
Block a user