From: Jens Thiele Date: Mon, 27 Nov 2006 13:04:07 +0000 (+0000) Subject: (no commit message) X-Git-Tag: v0.2~96 X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=commitdiff_plain;h=22c93e2cd435ba875778fedef9b11181dd6383d1 --- diff --git a/example-codegen/Makefile.am b/example-codegen/Makefile.am index b11e881..72f25e5 100644 --- a/example-codegen/Makefile.am +++ b/example-codegen/Makefile.am @@ -29,3 +29,16 @@ default_common.hxx default_common.cpp default_client.hxx default_client.cpp defa other_common.hxx other_common.cpp other_client.hxx other_client.cpp other_server.hxx other_server.cpp: codegen.stamp TESTS = test + + +# TODO: +# howto generate Makefile(.in) from something like this: + +# CMDGROUPS = default other + +# default_SOURCES = default-1.cpp default-2.cpp +# other_SOURCES = other.cpp + +# TESTS = test + +# server_SOURCES = server.cpp default foo.hxx diff --git a/example-codegen/TODO b/example-codegen/TODO new file mode 100644 index 0000000..8fb6a7d --- /dev/null +++ b/example-codegen/TODO @@ -0,0 +1,13 @@ +multiple command groups test: howto multiplex multiple commands on one stream? +don't multiplex but a select on multiple groups would be nice + +include problem: +- i don't see a solution using gccxml +- 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] + +at the moment we use the second solution + +- perhaps generate header containing only declarations of server functions + (hmm this conflicts with the current include file handling)