EXAMPLES

SUMMARY

Each example can be built individually. It is also possible to build a number of examples at the same time.


Building all examples in a posix environment

The examples can be built together using mvn for the java5 examples and cmake for all others. When building using cmake in a posix environment, create a directory named build in the examples directory, cd into the build directory and use the following commands:

Each example can be built individually by using the commands above in the required example directory

Before running any of the above commands it is necessary to set your environment using the release.com file found in the the Vortex OpenSplice installation.

Building examples in Visual Studio

The examples can be built in Visual Studio using cmake and mvn as described above. To build the C-Sharp examples dotnet should be used.

When building the C, C99 and ISO C++ examples you must first obtain the generator to be used by cmake. Use the following command to obtain the generators available: cmake -G

Then use the following commands, e.g.:

cmake -G "Visual Studio [version] [arch]" ..\

cmake --build .

To build the C-Sharp examples use the following command:

dotnet build CSharpExamples.sln