Difference between revisions of "Programming Howto:Configure BCI2000 for Compilation"

From BCI2000 Wiki
Jump to: navigation, search
Line 3: Line 3:
==Run the CMake GUI==
==Run the CMake GUI==
Double-click "Configure.sh.cmd" in your BCI2000 build directory
Double-click "Configure.sh.cmd" in your BCI2000 build directory.

Revision as of 14:41, 16 August 2018


To this howto's overview page.

Run the CMake GUI

Double-click "Configure.sh.cmd" in your BCI2000 build directory.

Use cmake 1.PNG

Tell CMake which Qt installation to use

Click "AddEntry" in the CMake window ...

Use cmake 2.PNG

... and enter the path to a Qt directory that is consistent with the compiler you are going to use.

Use cmake 3.PNG

Perform the configuration step

In the CMake window, click "Configure" ...

Use cmake 4.PNG

... and choose a generator that is consistent with your compiler, and the Qt directory chosen above. Then click "Finish" to perform the configuration step.

Use cmake 5.PNG

You will see a list of targets scrolling by, and a number of new entries in the variable list at the top of the window, marked in red.

Use cmake 6.PNG

Choose build options

Make sure the "Grouped" checkbox is checked, and configure the build by customizing values in the "BUILD" ...

Use cmake 7.PNG

... and "EXTENSIONS" group. Then, click "Generate" to create build files.

Use cmake 8.PNG

When CMake displays its "Generating done" message, ...

Use cmake 9.PNG

... your BCI2000 build directory will now contain a VisualStudio solution file, as well as a number of additional CMake-generated files.

Use cmake 10.PNG

Next step

As a next step, learn how to compile BCI2000.

See also

Programming Howto:Building and Customizing BCI2000