SimCenterCommon

Click the doxygen button for a full Class Documentation: Documentation

Build OS Windows MacOS Linux
Status Build Status Build Status Build Status

Developer's Guide

This repository is a common library of Qt classes used by the SimCenter Desktop applications. The repository is organized into separate subfolders, each has a QMake project include file. All the codes are built into a single static library using QMake and are packaged using Conan package manager.

Using SimCenterCommon as a dependency

Consuming SimCenterCommon as a dependency can be done using a Conan recipe. The library can be added as a requirement in a conanfile.txt or conanfile.py. An example conanfile.txt for consume SimCenterCommon is:

[requires]
SimCenterCommonQt/0.1.0@simcenter/testing

[generators]
qmake

Package options

Conan package for SimCenterCommon supports the following options:

Option Name Values Default Description
MDOFwithQt3D True or False False Rendering MDOF widget using Qt3D
withQt True or False False Use Qt as a dependency. This allows building the package without having pre-installed Qt (e.g. suitable for automated builds)

Building and packaging locally

When working on local changes it is possible to package the library locally to use it and test it with a dependent repo. The following command can be used to create the Conan package from local source code:

Conan create . simcenter/testing