[Wireshark-dev] tools/make-dissector-reg.py

2013-12-11 Thread Gisle Vanem
I saw the recent change to 'tools/make-dissector-reg.py' to allow reading list of files from a file; the argument dissectorsinfile. I find this a bit awkward. Isn't it better to use the more familiar response-file syntax? So the command to generate register.c would be something like:

Re: [Wireshark-dev] tools/make-dissector-reg.py

2013-12-11 Thread Graham Bloice
On 11 December 2013 13:10, Gisle Vanem gva...@yahoo.no wrote: I saw the recent change to 'tools/make-dissector-reg.py' to allow reading list of files from a file; the argument dissectorsinfile. I find this a bit awkward. Isn't it better to use the more familiar response-file syntax? So the

Re: [Wireshark-dev] tools/make-dissector-reg.py

2013-12-11 Thread Gisle Vanem
Graham Bloice graham.blo...@trihedral.com wrote: and maybe due to my CMake ineptness it turned out to be one file per line. How fast will CMake generate such a temp-file? There are approx 1100 packet-*.c files. I figured this macro does it: MACRO(REGISTER_DISSECTOR_FILES _outputfile