# Build, test and run¶

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.

## From the command line¶

Various batch/VBScript files (.bat | .vbs) and shell scripts are available on Windows and Linux/macOS, respectively:

## Using Qt Creator¶

• Start Qt Creator;

• Open [OpenCOR]/CMakeLists.txt (by selecting the File | Open File or Project... menu or by pressing Ctrl+O;

• Configure the project as you see fit and click on the Configure Project button;

• Configure CMake, if needed, by going to the Projects page and setting, for example, ENABLE_TESTS to ON, and click on the Apply Configuration Changes button; and

• Build and run OpenCOR (by selecting the Build | Run menu or by pressing Ctrl+R).