06-04-2013, 05:45 PM
(06-04-2013, 06:09 AM)xoft Wrote: [...] We need a filter, similar to what tolua++ does when it generates the bindings, [...]
I first tried to see if doxygen could be used directly - run it for all files, but specify to exclude all symbols except for those listed in API.txt (or a similar file that could be generated by Lua). Unfortunately, this is not supported by doxygen - it can exclude specified symbols, but it cannot include specified symbols, so there's no way of telling it "give me documentation only for these symbols".
So I'm back to square one, I'll be writing a filter that processes the ToLua++ package file and produces a subset of the C++ code; then doxygen will process that file.