X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=codegen%2FTODO;h=eb7631c3c898148453a6e61a26b31ab11883f7ac;hp=fb1591e8b776232c5ef6b793b6a2e7ab7752de97;hb=a63e08b83794273da3840e0b8bf15bf0085fe3c4;hpb=b1c1274c39db33e2827770798a0d045643f58b6c diff --git a/codegen/TODO b/codegen/TODO index fb1591e..eb7631c 100644 --- a/codegen/TODO +++ b/codegen/TODO @@ -1,23 +1,11 @@ -- remove support for LIBT2N_EXPORT_GROUP(group) (this will simplify the generator a lot) - add option similar to gccs -MD (at the moment it is a fixed set of files generated and they are handled in the makefile snippet [codegen.make]) - -open questions: -- should projects using the codegen depend on installed version of ... or ship their own version? -- get rid of codegen-stubhead.hxx or include a "copy" in each project? - first we said yes but now i say no because the lib depends on the libt2n headers anyway -- makefile snippet must work for builds outside of libt2n - => some variables must be set by configure - the variables which must be set: - LIBT2N_CODEGEN="\$(top_builddir)/codegen/libt2n-codegen" - LIBT2N_CLIENT_PCTEMPLATE="\$(top_srcdir)/codegen/clientlib.pc.in" - LIBT2N_CODEGEN_MAKESNIPPET="include \$(top_srcdir)/codegen/codegen.make" - - we store the variables in the .pc file of libt2n - maybe wrap the calls to pkg-config in a m4 macro - (=> projects using libt2n-codegen need only one line in configure.in) - - it would really be much nicer if the client lib includes would not depend upon boost serialization i thought a solution would be to provide this optionally by wrapping the corresponding includes in a #ifdef but this does not work since command.hxx is included which depends on boost serialization headers anyway => we do not provide this for now +- naming scheme?! + perhaps generated group class should not be prefixed by cmd_group_ +- 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)