added example using generated and installed example library
[libt2n] / example-codegen / TODO
1multiple command groups test: howto multiplex multiple commands on one stream?
2don't multiplex but a select on multiple groups would be nice
4include problem:
5- i don't see a solution using gccxml
6- a simple solution would be to have a special include file containing the neccessary includes (or 2: one for the type definitions and one for the serialization)
7- another solution would be to extract the includes from the file and add them to the generated code
8both solutions only work if the include paths used during compilation of a program using the library are correct[tm]
3ac2ff0e 9now we use the first solution
22c93e2c 10
0cfa3fb2 11- test using valgrind
12- would be nice to reduce amount of changed files
13 (codegen output is often the same as the existing files - something similar to ccache
14 for codegen - but not overwriting output files if they are the same)
7f435356 15- howto include the part after "# always the same:" in all makefiles (using the codegenerator)
44a58add 16 (we now use make's include)
3c4dd222 17- lib name should be group name + suffix/prefix
18- the example should not get installed (but still it should show how to build a lib that gets installed :-(
19 (overwriting install: doesn't work)
20- at the moment make dist from within a clean source will not work
21 (this is related to the nodist problem / old automake version)
22 this is caused by BUILT_SOURCES not working for make dist(check?)
23 and the dependency generation
25 distcheck -> dist -> distdir -> DISTFILES
27 all -> all-redirect -> all-am -> Makefile -> BUILT_SOURCES => bene
29 => how to add dependency on BUILT_SOURCES for dist?
30 the real problem is that make dist should not depend on BUILT_SOURCES
31 unfortunately we can't fix this as long as we use a old automake version
32- add (standalone) example using generated client library
33 (=> depends on installed example)
34 example consists of: the same client.cpp but provides a and