[Compiler] Enable global include search paths
Posted: Sun Dec 11, 2011 8:33 pm
Hello All,
A feature I would love to see implemented is the ability to specify global additional search directories for Include Files...
Why?
With a lot of contributions being made in the form of Include Files, it's quite a pain to have to copy and paste them from a central location to the projects directory... Or if you IncludePath "C:/Wherever/" it reduces the portability of the code.
With this feature, each programmer can create a code base full of libraries written by others, such as GoScintilla, at a desired location (not the typical #PB_Compiler_Home + "/include" for instance) and the code they write will be easier to distribute.
As for the argument, what if you have "Object.pbi" in your project root AND in the code base, I would say be more disciplined on how you name your distributed include files, and if necessary, use subfolders such as "framework/object.pbi".
This would be a huge advantage I believe.
Thanks
A feature I would love to see implemented is the ability to specify global additional search directories for Include Files...
Why?
With a lot of contributions being made in the form of Include Files, it's quite a pain to have to copy and paste them from a central location to the projects directory... Or if you IncludePath "C:/Wherever/" it reduces the portability of the code.
With this feature, each programmer can create a code base full of libraries written by others, such as GoScintilla, at a desired location (not the typical #PB_Compiler_Home + "/include" for instance) and the code they write will be easier to distribute.
As for the argument, what if you have "Object.pbi" in your project root AND in the code base, I would say be more disciplined on how you name your distributed include files, and if necessary, use subfolders such as "framework/object.pbi".
This would be a huge advantage I believe.
Thanks
