README.paths 979 B

1234567891011121314151617181920212223242526
  1. Search paths
  2. ============
  3. To attempt to emulate the search path facility of the C preprocessor,
  4. Inform is compiled with some built-in search paths. For include files,
  5. this is (in order of searching):
  6. . current directory
  7. PKGDATA/include local include directory
  8. PKGDATA/lib local library directory
  9. PKGDATA/VERSION/include system include directory
  10. PKGDATA/VERSION/lib system library directory
  11. where PKGDATA is the package data prefix (default: /usr/local/share/inform)
  12. and VERSION is the Inform version. For modules, the search path is:
  13. . current directory
  14. PKGDATA/lib local library directory
  15. PKGDATA/VERSION/lib system library directory
  16. This is as if Inform has been given the +include_file and +module_file
  17. arguments with the comma-separated lists of directories shown above.
  18. However, note that explicitly giving one of these arguments to Inform will
  19. override the default setting, not prepend to it, as with the C
  20. preprocessor.