Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

(NOTE: This page is currenly only applicable to the development branch)

Creating build files

IMPORTANT: The plugin repository must be clone alongside the GUI repository. For example, if the GUI is located in /usr/src/open-ephys/plugin-GUI the plugin should be in /usr/src/open-ephys/PuginName. Please look below if the GUI repository must be located in a different location.

...

Remember that setting a variable using the -D argument will be permanent, with following calls to cmake in the same folder using its set value even if the argument is not used in them. The build files creation page has info on how to unset o change them.

Building and Installing plugins

IMPORTANT: Before building a plugin, the build files for the base GUI must have been created by running cmake for it, as the process creates some files needed by the plugins.

Linux

Just like with most Linux sources, just execute

...

IMPORTANT: Before building any plugin on windows, in addition of having created the base GUI's build files it must also have been built in the desired configuration (Release or Debug) must have been built.

To build the plugin on windows, open the generated oe_pluginname.sln Visual Studio solution file. Select the appropriate configuration (Debug/Release) and either build the solution or build the ALL_BUILD project. That will run the build process on all projects except INSTALL, thus building the plugin.

...