SimCenterCommon
Common functionality used within different SimCenter projects
SimCenterCommon

Click the doxygen button for a full Class Documentation:

Build OSWindowsMacOSLinux
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:

1 [requires]
2 SimCenterCommonQt/0.1.0@simcenter/testing
3 
4 [generators]
5 qmake

Package options

Conan package for SimCenterCommon supports the following options:

Option NameValuesDefaultDescription
MDOFwithQt3DTrue or False FalseRendering MDOF widget using Qt3D
withQtTrue or FalseFalseUse 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:

1 Conan create . simcenter/testing