![]() |
SimCenterCommon
Common functionality used within different SimCenter projects
|
Click the doxygen button for a full Class Documentation:
| Build OS | Windows | MacOS | Linux |
|---|---|---|---|
| Status |
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.
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:
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) |
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: