73fe79b709d641412c998232d14304b7f071eaf7
[libt2n] / example-codegen / TODO
1 multiple command groups test: howto multiplex multiple commands on one stream?
2 don't multiplex but a select on multiple groups would be nice
3
4 include 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
8 both solutions only work if the include paths used during compilation of a program using the library are correct[tm]
9 now we use the first solution
10
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)
15 - howto include the part after "# always the same:" in all makefiles (using the codegenerator)
16   (we now use make's include)
17 - lib name should be group name + suffix/prefix ?!
18   user should have complete control => no default suffix/perfix
19   headers should be installed in pkgincludedir? maybe yes on the other hand
20   the user can pass the directory to configure via --includedir
21 - the example should not get installed (but still it should show how to build a lib that gets installed :-(
22   (overwriting install: doesn't work)
23   => perhaps split libt2n package into 3 packages?
24         libt2n
25         libt2n-example-codegen
26         libt2n-example-libusage
27 - at the moment make dist from within a clean source will not work
28   (this is related to the nodist problem / old automake version)
29   this is caused by BUILT_SOURCES not working for make dist(check?)
30   and the dependency generation
31
32   distcheck -> dist -> distdir -> DISTFILES
33
34   all -> all-redirect -> all-am -> Makefile -> BUILT_SOURCES => bene
35
36   => how to add dependency on BUILT_SOURCES for dist?
37   the real problem is that make dist should not depend on BUILT_SOURCES
38   unfortunately we can't fix this as long as we use a old automake version