alecchen / doxygen-lua

Make Doxygen support Lua
https://github.com/alecchen/doxygen-lua
69 stars 22 forks source link

lua2dox not working with newer versions #6

Open dkuschmierz opened 6 years ago

dkuschmierz commented 6 years ago

Hi,

I was facing some problems to get the lua2dox-script working with the newer doxygen. The following changes helped me to get it working:

change the include in lua2dox from use strict; use warnings; use Doxygen::Lua;

to

use strict; use warnings; use FindBin; use lib "$FindBin::Bin/../lib/"; use Doxygen::Lua;

After that, lua2dox finds the Lua.pm in the lib-folder.

In the FILTER_PATTERNS section change

*.lua=../bin/lua2dox

to

*.lua=perl "../bin/lua2dox"

Note, i'm running doxygen on a windows machine

AdrianSchoisengeier commented 4 years ago

To make it work with doxygen 1.8.11 on Linux, I additionally had to change the section EXTENSION_MAPPING to this:

EXTENSION_MAPPING = lua=C++