Commit e9973b84 authored by Smit Patil's avatar Smit Patil 🐧 Committed by Smit Patil
Browse files

Fixed README.md

parent dc485b79
...@@ -16,28 +16,34 @@ The library documentation is available on header files. ...@@ -16,28 +16,34 @@ The library documentation is available on header files.
## Dependencies ## Dependencies
CMake >= 3.0.0 https://cmake.org - CMake >= 3.0.0 https://cmake.org
Qt >= 5.7.0 https://qt.io - Qt >= 5.7.0 https://qt.io
KDE Frameworks >= 5.55.0 https://www.kde.org - KDE Frameworks >= 5.55.0 https://www.kde.org
libsane >= 1.0.18 http://www.sane-project.org - libsane >= 1.0.18 http://www.sane-project.org
## Install ## Install
In order to compile just use something like that: In order to compile just use something like that:
# export VERBOSE=1 ```bash
# export QTDIR=/usr/lib/qt5/ export VERBOSE=1
# export PATH=$QTDIR/bin:$PATH export QTDIR=/usr/lib/qt5/
# cmake . export PATH=$QTDIR/bin:$PATH
# make cmake .
make
```
Usual CMake options: Usual CMake options:
-DCMAKE_INSTALL_PREFIX : decide where the program will be install on your computer. | Option | Description |
-DCMAKE_BUILD_TYPE : decide which type of build you want. You can chose between "Debug", "Release", "RelWithDebInfo" and "MinSizeRel". The default is "RelWithDebInfo" (-O2 -g). | ------- | ----------- |
| DCMAKE_INSTALL_PREFIX | decide where the program will be install on your computer.le |
| DCMAKE_BUILD_TYPE | decide which type of build you want. You can chose between Debug, Release, RelWithDebInfo and MinSizeRel. The default is RelWithDebInfo (-O2 -g). |
More details can be found at this url: https://community.kde.org/Guidelines_and_HOWTOs/CMake More details can be found at this url: https://community.kde.org/Guidelines_and_HOWTOs/CMake
Note: To know the KDE Frameworks install path on your computer, use 'kf5-config --prefix' command line like this (with full debug object enabled): Note: To know the KDE Frameworks install path on your computer, use `kf5-config --prefix` command line like this (with full debug object enabled):
"cmake . -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`" ```bash
cmake . -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment