Adding the Include/CLASSPATH

Include paths tell IBM® Rational® 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:

To add the include and class path:

Procedure

  1. In the Add Preprocessing Symbol window, select the Add Symbol and Include/CLASSPATH radio buttons.
  2. Use the Browse button to locate the appropriate folder.
  3. Depending on what you want to do:
    • Click Apply if you want to enter another Include path.
    • Click OK if you are done and to return to the Preprocessing tab. Notice that a symbol with type I is added to the list of preprocessing symbols.
  4. Click OK again to close the Reverse Engineering Options window.
  5. Click Start to re-import the file.

Feedback