Module 4: Adding Connext to the Visual Studio Build Environment
Add Connext to the Unreal C++ build environment
Next, we need to add Connext to the Unreal Visual Studio project build properties. This is done by adding the Connext dependencies to the <Project_Name>.Build.cs file in the Source\Unreal_Shapes of the project. For this example, we modify the Source\Unreal_Shapes\Unreal_Shapes.Build.cs as follows:
For accessing environment variables and constructing oaths, we need to use System and System.IO
Connext uses runtime types and exceptions and so do the boost libraries. We need to enable support for those features in the build configuration.
bUseRTTI = true;
bEnableExceptions = true;
All items in the Connext directory will be relative to the install directory, which is defined by the environment variable NDDSHOME.
string nddshome = Environment.GetEnvironmentVariable("NDDSHOME");
Add the Connext additional include directories
Add Connext compile time options for Windows
And finally, we need to add the libraries to link
If you are using a different operating system than Windows, the compile time options and library names will be different. Check the Platform Notes.
This video shows the steps for adding Connext to the Visual Studio build environment.
Next: Module 5: Creating your First C++ class Which Uses Connext