Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 2.34 KB

README.md

File metadata and controls

44 lines (36 loc) · 2.34 KB

VCML SILKIT

This repository holds VCML models for SILKIT specific components.

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


Installation

Clone repository and update submodules:

git clone [email protected]:machineware-gmbh/vcml-silkit.git
git submodule update --init

Building vcml-silkit requires cmake >= 3.11. During configuration you must state whether to build the unit tests:

  • -DVCML_SILKIT_TESTS=[ON|OFF]: build unit tests (default OFF)
  • -DVCML_SILKIT_LINTER=<string>: linter program to use (default <empty>)
  • -DVCML_SILKIT_COVERAGE=[ON|OFF]: generate test coverage report (default OFF)

Note that when building this as a cmake submodule, unit tests will always be disabled and the respective build option setting is ignored.

cmake -B RELEASE/BUILD           \
      -DCMAKE_BUILD_TYPE=RELEASE \
      -DCMAKE_INSTALL_PREFIX=..  \
      -DVCML_SILKIT_TESTS=ON .
cmake --build RELEASE/BUILD -- install

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

  • vcml-silkit headers in RELEASE/include/
  • vcml-silkit library in RELEASE/lib/libvcml-silkit.a

License

This project is licensed under the GNU General Public License, version 2 license - see the LICENSE file for details.