The process for importing the Source Code into a project varies depending on the development environment. However, in general the following steps are needed:
- Create a new project or open an existing project
- Import the entire source tree from the file-system. Note that some environments lets you choose if whether to make a copy only link to the original files.
- Add the following include paths:
- <root>/include
- <root>/src/dds_c/domain
- <root>/src/dds_c/infrastructure
- <root>/src/dds_c/publication
- <root>/src/dds_c/subscription
- <root>/src/dds_c/topic
- <root>/src/dds_c/type
- Add a compile-time defintion -DTARGET="target name" (note that the " must be included)
- Add a compile-time definition -DNDEBUG for a release build