Adding the Include/CLASSPATH

Include paths tell Rhapsody® where to look for header files to be included using #include directives found in the source file.

About this task

This directive has the same effect as the following preprocessing switch:


   /I<dir>

The reverse engineering tool adds constructs declared in header files with #include statements to the model, as long as either condition is true:

  • The file is in the same directory as the one being imported.
  • An include path is specified on the Set pre-processor options window.

To add the include and class path:

Procedure

  1. In the Set pre-processor options window, click New icon.
  2. Use the Browse button to locate the appropriate folder.
  3. Click OK if you are done and to return to the Set pre-processor options window.
  4. Click Finish to close the Set pre-processor options window.