IncludeInSearchPath

Michalis Kamburelis edited this page Jan 7, 2017 · 5 revisions

Just like a Pascal compiler, PasDoc understands $include compiler directive and reads include files. It searches for include files in the current directory and in all directories given with the --include CommandLine option. Examples:

pasdoc --include c:\mysources\include --include c:\3rdparty\somelib\include ...

pasdoc --include c:\mysources\include;c:\3rdparty\somelib\include ...

As shown in the first example it is possible to specify multiple --include options.

You can also specify multiple include paths per --include directive, separating them with the platform’s path separator (which is ':' on Unix and ';' on Windows) as shown in the second example. So both examples above (and the two below) are equivalent.

Another example when running under Unix:

pasdoc --include /home/me/include --include /usr/local/pascal/include ...

pasdoc --include /home/me/include:/usr/local/pascal/include ...

The short form of --include option is -I (upper case i).

PasDoc, documentation generator for Pascal:
Features:
Supported Tags:
Command Line:
Development:
Developers pages:
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.