Dependencies
Closed this issue · 2 comments
This project will probably use noxDB for various tasks.
- noxDB (utf8 branch)
The open question is: how will we reference/integrate noxDB ?
Normally a project which is a software library (which noxDB qualifies as) would create one or two packages. In the linux world it is common to have a package with the library object (service program in our case) and one package with the include file(s). So the package with the headers would install in some folder in the IFS like /usr/local/include/noxdb2.
We could then just include the header like
/include noxdb2/noxdb.rpgle
and use the INCDIR
compile parameter to specify the path to the include directory.
Another approch would be to just specify the actually header file on the include statement like
/include 'noxdb.rpgle'
and have the full path to the header file in the INCDIR
parameter. That approach would work anyway regardless if we are using a package approach for noxdb2 or not.
Including noxdb2 in C should work the same as in RPG as RPG uses the same concept of handling includes as C.
Hopefully dependencies can be left out (or as long as possible) - at least for the super basic features. Therefore the bind to other service programs need be done with activation(*DEFER)
Ok. I will try to switch everywhere I used noxDB2 to simple list.