Git Product home page Git Product logo

mwr's Introduction

LibMWR

LibMWR contains types and utilities shared between all MachineWare projects.

Build Status ASAN Status Lint Status Style Status Nightly Status Coverage Status


Installation

Clone repository and update submodules if you want to build unit tests:

git clone [email protected]:machineware-gmbh/mwr
cd mwr
git submodule update --init

Building mwr requires cmake >= 3.11. During configuration, you must state whether to build the unit tests and the example programs:

  • -DMWR_BUILD_TESTS=[ON|OFF]: build unit tests (default OFF)
  • -DMWR_LINTER=<string>: linter program to use (default <empty>)
mkdir -p BUILD/RELEASE/BUILD
cd BUILD/RELEASE/BUILD
cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=.. \
      -DMWR_BUILD_TESTS=ON
make -j 4
make test
make install

If everything went well, the following artifacts will have been installed:

  • mwr headers in BUILD/RELEASE/include
  • mwr library in BUILD/RELEASE/lib

Integration

You can use mwr as a submodule within cmake projects. For example:

add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/mwr)
...
target_link_libraries(my_target mwr)

License

This project is licensed under the Apache-2.0 license - see the LICENSE file for details.

mwr's People

Contributors

janweinstock avatar aut0 avatar nbosb avatar simonwin 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.