X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=codegen%2FREADME;h=f0be2c37b868628b3f9d0aba7d89da0e2cff0d8c;hp=c0a159895e9bb458d0a6251d36749705e8fcd8ed;hb=2fad99dbed0a4ac40a5e008e94d868810d499951;hpb=373558f707dd668486de943dadfb4efe492b07af diff --git a/codegen/README b/codegen/README index c0a1598..f0be2c3 100644 --- a/codegen/README +++ b/codegen/README @@ -1,3 +1,23 @@ code generator using gccxml and libxml++ -for example usage take a look at the example-codegen directory. +for example usage take a look at the libt2n-example package + +design decisions: + +installation of codegen-stubhead.hxx: +codegen-stubhead.hxx is installed because the generated includes depend on the libt2n headers anyway + +make file snippet moved into libt2n-example1 and must be copied manually: +automake is run first (before configure) and needs the makefile snippet => no way to let configure +find the makefile snippet + +examples in separate packages: +- this was done to be able to test that installation and configure scripts work as intended +- there are two examples because one is used to generate the usage example documentation using doxygen + and one is used for automatic testing +- in libt2n-examples there is a script test-built-install-use to test everything is fine + +group header file for include file dependencies: +- simple +- i don't see a solution using gccxml +- better than extracting all the includes from the file and adding them to the generated code