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)
-
+ => we store the variables in the .pc file of libt2n
- 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?!
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)
(we now use make's include)
-- lib name should be group name + suffix/prefix
+- 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 / old automake version)
this is caused by BUILT_SOURCES not working for make dist(check?)
=> 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
-- add (standalone) example using generated client library
- (=> depends on installed example)
- example consists of: the same client.cpp but provides a configure.in and Makefile.am