Skip to content

Cross platform udp,tcp and serial connection library

License

Notifications You must be signed in to change notification settings

Midgrad/loodsman

Repository files navigation

Build and test Static analysis

Quality Gate Status Coverage Code Smells Bugs Duplicated Lines (%)

loodsman

Cross-platform udp,tcp and serial connection library

Build

Tested on Ubuntu 20.04, Windows server 2016 and macOS 11. Although this lib support cross-platfom build, it's recommended to use GNU/Linux for development in order to avoid time loss on issues such as this.

If using conan:

  • install python3
  • pip3 install conan
  • conan profile new default --detect
  • Apply conan profile modification if necessary
    • On Linux: conan profile update settings.compiler.libcxx=libstdc++11 default
    • On Windows: conan profile update settings.compiler.runtime=MD default
  • Choose your build type and append -s build_type=Release or -s build_type=Debug to the next conan install command
    • cd conan & conan install . --install-folder=../deps

Alternatively on Linux and macOS You can just install all deps manually using apt or homebrew or build everything from source and place it in deps folder.

  • mkdir build & cd build
  • cmake .. or cmake .. -DLOODSMAN_TESTS_ENABLED=ON
  • cmake --build