Git Product home page Git Product logo

mtb-net-lib's Introduction

hJOP MTB Network RCS Library

This repository contains library intended to be compiled into Windows dll file and linked to hJOPserver as RCS library. It connects to hJOP on one side and to MTB daemon JSON server on the other side. The library allows to connect hJOP with MTBbus.

Building & toolkit

This library was developed in vim using qmake & make. For clang-tidy to run, it is suggested to use clang as a compiler. Library is assumed to be compiled on Windows to produce dll file.

Prerequisities

Toolchain setup on debian

$ apt install qt5-default
$ apt install bear
$ apt install clang-7 clang-tools-7 clang-tidy-7 clang-format-7

Build

Clone this repository:

$ git clone https://github.com/kmzbrnoI/mtb-net-lib

And then build:

$ mkdir build
$ cd build
$ qmake ..
$ # qmake CONFIG+=debug ..
$ bear make

Style checking

$ cd src
$ clang-tidy-7 -p ../build -extra-arg-before=-x -extra-arg-before=c++ -extra-arg=-std=c++17 -header-filter=src/ *.cpp
$ clang-format-7 *.cpp *.h
$ clang-include-fixer-7 -p ../build *.cpp

For clang-include-fixer to work, it is necessary to build yaml symbols database. You can do it this way:

  1. Download run-find-all-symbols.py from github repo.
  2. Execute it in build directory.

Authors

This library was created by:

Do not hesitate to contact author in case of any troubles!

License

This application is released under the Apache License v2.0 .

mtb-net-lib's People

Contributors

horacekj avatar petrilakm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.