I'd like to build only gpi files without .o files. I use --interface-only flag. Is there another flag like automake to (re)build gpi files without linking or generating .o files?
Mehdi Khaldi wrote:
I'd like to build only gpi files without .o files.
This would seem quite pointless since you can't use gpi files without .o files.
I use --interface-only flag. Is there another flag like automake to (re)build gpi files without linking or generating .o files?
No. (Of course you could do `rm *.o' afterwards ...)
Frank
Frank Heckenbach wrote:
Mehdi Khaldi wrote:
I'd like to build only gpi files without .o files.
This would seem quite pointless since you can't use gpi files without .o files.
I feel that what Mehdi Khaldi requests, can be quite useful when working on large software projects, e.g. those with several hundreds of units. Say, you have to add a new feature to such a project. To do so, you have to add fields to records defined in an early unit A and make changes to procedures in late units B, C and D. While making these changes, you are not (yet) interested in a complete rebuild of all units from A to B-D, simply because it takes too much time. Instead, you compile units A upto B-D --interface-only, and then units B-D compile-only (-o). The point is that compiling --interface-only is (or should be) much faster than a normal compile. Currently, --automake doesn't support it, but in my opinion it could be a useful feature for gp.
Regards,
Adriaan van Os