[Codemill-spec] Re: Codemill spec
Status: Planning
Brought to you by:
richard_kolb
From: John L. <ja...@al...> - 2000-12-07 19:45:01
|
>> Also, to allow it to be used via make, which is the easiest way to specify >> the include paths, I would suggest the same syntax as makedepend: >> >> codemill -- <garbage> -I./ <garbage> -DMY_DEFINE <garbage> -- -c >> NewClass -b BaseClass -t template.5 -o output.cc output.h >> >> This allows one to dump ${CPPFLAGS} between the --'s. This also brings up >> the point that many people use preprocessor symbols in the class >> declarations to allow the code to compile on UNIX/Win/Mac. This means that >> -D also has to be parsed when it occurs between the --'s. > > I can see the importance of using CPPFLAGS but, > > How would code mill use defines? You have to parse the base class header files in order to know which functions can be overridden. You will probably also have to parse the header file in order to allow adding functions and variables after the initial creation. John |