aboutsummaryrefslogtreecommitdiff

My BLE (Bluetooth Low Energy) Toys

Building:

mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/opt/ble-toys
make -j

This will build a Debug release by default. Add -DCMAKE_BUILD_TYPE=Release to build a release build.

Required packages

For Debian-based systems (Debian, Ubuntu, Armbian, etc):

  • cmake
  • libmosquitto-dev
  • libpqxx-dev
  • libbluetooth-dev
  • libboost-all-dev
  • liblog4cplus-dev
  • ninja-build # optional

CMake notes

Header files are added as sources so the IDEs will search/index them properly.