OpenCOR (and its corresponding tests) can be built, tested and run either from the command line or using Qt Creator. By default, Ninja is used to build OpenCOR, but if it is not available, then JOM (on Windows) or Make (on Linux/macOS) will be used.
Note: if you use
make, then OpenCOR will, by default, be compiled sequentially.
You can, however, specify a maximum number of jobs (
n) to be run simultaneously by calling
make -j [n].
n value is provided, then as many jobs as possible will be run simultaneously.
Note: on Windows, if you were to run OpenCOR from a console window by entering
run.bat would be executed (rather than
run.vbs), offering you the opportunity to use OpenCOR as a CLI application.
However, if you were to run OpenCOR by double clicking
run.bat in, say, Windows Explorer, then a console window would quickly appear and disappear.
To avoid this, use
[OpenCOR]/CMakeLists.txt(by selecting the
Open File or Project...menu or by pressing
Projectspage and setting, for example,
ON, and click on the
Apply Configuration Changesbutton; and
Runmenu or by pressing