The -i option adds a directory to the list of directories the compiler searches for include files.
-i:dir
dir | A directory to add to list list of directories the compiler searches for include files. |
The compiler searches for files included with #include in the following order:
1.The current working directory
2.The include subdirectory of the Vulcan.NET installation directory (when applicable)
3.The include subdirectory of the XSharp installation directory
4.Any directories specified with -i
5.Any directories specified with the INCLUDE environment variable
Multiple directories can be specified by using The -i option multiple times.
The compiler does not search for filenames that are fully qualified in any location other than in the directory specified in the #include directive.
1.Open the project's Properties page.
2.Click the Language tab.
3.In the Preprocessor section, modify the "Additional include paths" property.
4.Click here to see the property page