It has been reported that on Rocky OS without the export the
GPR_PROJECT_PATH variable is not properly passed to child
process.
Fixes eng/toolchain/aws#36.
This rework make it possible to build in-tree as before:
$ make setup
$ make
And from another directory (out-of-tree build):
$ cd <build-dir>
$ make -C ../aws BLD_DIR=$PWD setup
$ make -C ../aws BLD_DIR=$PWD
To build the demos:
$ make -C ../aws/demos BLD_DIR=$PWD
Support for the testsuite has also been reworked to use the out-of-tree
build when needed:
$ make -C ../aws BLD_DIR=$PWD run_regtests
Also ensure that the build is done with static libraries for all
dependencies.
It is now possible to build the dynamo tool just by calling
the following makefile rule in to directory:
$ make build-dynamo
The types, callbacks, main, client & server code is now generated
using templates files. This brings a large clean-up in the Ada
code of the generator and makes easier to change the actual
code generated.
Some refactoring has also been done to simplify the generated
code making it more generic. There is still some room for
improvements, but this is a big milestone.
Minor update of exepected output to cope with the differences due
to the new code generation layout.
For V531-036.
Having separate targets will make it possible to build+install tools as
one step and build+install the library as another step, which is
necessary when the two components are dealt with in different contexts.
TN: U625-033