My idea is: Add a new folder in PureBasic-Directory, for example "Includes". In this directory you can copy all your include files for using in different projects (like UserLibrary directory for your *.lib files):
- .
..
Catalogs
Compilers
Debugger
Examples
Includes (New!)
Library SDK
PureLibraries
Residents
....
When you include a file now (for example:
IncludFile "MyHighresTimer.pbi"), the compiler search for this file with follow priority:
1) Search in the new include directory -> If include not found:
2) Search in the folder adjusted by "IncludePath" -> If include not found:
3) Search in the current directory -> If include not found: Error!
So you have a global include directory and you need not set the include path every time in every project.