/OSVR-IPC

An OSVR plugin for receiving tracking data via interprocess communication

Primary LanguageC++

Self-Contained Plugin Example Readme {#PluginExampleReadme}

This directory, examples/plugin/selfcontained, contains an example of how to build a plugin in a separate source tree (not integrated with this repository). The CMakeLists.txt file controls the build, while the com_osvr_example_selfcontainedDummyAsync.cpp file contains the actual code of the plugin. For your plugin, make a copy of this directory to start. You'll want to change the name:

  1. Rename the com_osvr_example_selfcontainedDummyAsync.cpp file.
  2. Edit the .cpp file to replace the old name in the OSVR_PLUGIN() line.
  3. Edit the CMakeLists.txt file to replace the old name in the target name and sources list.

Then, edit your plugin and build file as needed! See the main documentation for a more step-by-step guide.