Commit 7dd9813de86ecb8dac400cd89bac9c9739f74f22

Authored by David Gräff
1 parent d59e64c8

Update readme.md

Change build instructions for cmake based builds.
Showing 1 changed file with 7 additions and 5 deletions
readme.md
... ... @@ -24,13 +24,15 @@ For debian based systems (Ubuntu, Mint) install named requirements like this:
24 24 For rpm based distributions (Fedora) use this command:
25 25 > dnf install cmake qt5-qtbase-gui qt5-qttools-devel qt5-qttranslations fftw-devel libusbx-devel binutils-devel libusb-1.0-0-devel
26 26  
27   -After you've installed the requirements run the following commands inside the directory of this package:
28   -> qmake <br>
29   -> make <br>
  27 +After you've installed the requirements either run **cmake-gui** or run the following commands inside the directory of this package:
  28 +> mkdir build <br>
  29 +> cd build <br>
  30 +> cmake ../
  31 +> make -j4 (for 4 concurrent compile jobs)
30 32 > make install (optional, for installing only)
31 33  
32   -You can specify a prefix when running qmake:
33   -> qmake PREFIX=/usr
  34 +You can specify an install prefix when running cmake:
  35 +> cmake -DCMAKE_INSTALL_PREFIX=/usr
34 36  
35 37 ## Firmware
36 38 Your DSO does not store its firmware permanently -- the firmware has to be sent to the device each time it is connected. The `firmware` directory of this project contains the binary firmware extracted from Hantek's Windows drivers, and a udev rule to upload the firmware to the device automatically each time it is plugged in.
... ...