327fedf0652ee2f54ffc5a2a8fe3f077eddfee27
[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 - at the moment make dist from within a clean source will not work
19   (this is related to the nodist problem / old automake version)
20 - the example should not get installed (but still it should show how to build a lib that gets installed :-(
21   (overwriting install: doesn't work)
22
23 - dist-hook in included makefile does not work (because automake doesn't see it!)
24 - CLEANFILES doesn't work in included makefile either
25
26 BUG:
27 - first time builds without dependency files fail (.P)!
28   maybe yet another problem caused by automake?
29   probably yes
30   AHH:
31   automake supports include
32   the real problem is: at the time automake runs there is no include!
33   (since it is "added" by the configure script)
34
35   => the real problem:
36   configure should find the make file snippet
37   Makefile.am should include it
38   automake is run before configure (on the Makefile.am)
39