X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=example-codegen%2FTODO;h=73fe79b709d641412c998232d14304b7f071eaf7;hp=6afaf9b1cd82625b1d564647842a5e09711d78bc;hb=373558f707dd668486de943dadfb4efe492b07af;hpb=84b484fa66baa81473a4278153b43221f877a2e1 diff --git a/example-codegen/TODO b/example-codegen/TODO index 6afaf9b..73fe79b 100644 --- a/example-codegen/TODO +++ b/example-codegen/TODO @@ -6,17 +6,33 @@ include problem: - 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) - another solution would be to extract the includes from the file and add them to the generated code both solutions only work if the include paths used during compilation of a program using the library are correct[tm] - now we use the first solution -- make distcheck -- .pc file -- make install (in this example the "other" client lib would have to install foo.hxx) - test using valgrind - would be nice to reduce amount of changed files (codegen output is often the same as the existing files - something similar to ccache for codegen - but not overwriting output files if they are the same) -- howto include the part after "# always the same:" in all makefiles using the codegenerator -- lib name should be group name + suffix/prefix +- howto include the part after "# always the same:" in all makefiles (using the codegenerator) + (we now use make's include) +- lib name should be group name + suffix/prefix ?! + user should have complete control => no default suffix/perfix + headers should be installed in pkgincludedir? maybe yes on the other hand + the user can pass the directory to configure via --includedir +- the example should not get installed (but still it should show how to build a lib that gets installed :-( + (overwriting install: doesn't work) + => perhaps split libt2n package into 3 packages? + libt2n + libt2n-example-codegen + libt2n-example-libusage - at the moment make dist from within a clean source will not work - (this is related to the nodist problem) + (this is related to the nodist problem / old automake version) + this is caused by BUILT_SOURCES not working for make dist(check?) + and the dependency generation + + distcheck -> dist -> distdir -> DISTFILES + + all -> all-redirect -> all-am -> Makefile -> BUILT_SOURCES => bene + + => how to add dependency on BUILT_SOURCES for dist? + the real problem is that make dist should not depend on BUILT_SOURCES + unfortunately we can't fix this as long as we use a old automake version