Wireshark-dev: Re: [Wireshark-dev] How to trigger a rebuild of ASN1 dissectors with cmake?
From: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Date: Tue, 3 May 2016 16:58:01 +0200
Hi Anders,

2016-05-03 16:47 GMT+02:00 Anders Broman <anders.broman@xxxxxxxxxxxx>:

Hi,

I just did some edits in packet-h248-template.c and rerun cmake but the dissector did not rebuild...


On Windows, you need to go to epan\dissectors\asn\h248 folder and run:
msbuild /m /p:Configuration=RelWithDebInfo generate_dissector-h248.vcxproj

On other systems, I expect that you have a command rather similar (but did not try it).

You can rebuild all ASN.1 dissectors at once by going to epan\dissectors\asn1 folder and running:
msbuild /m /p:Configuration=RelWithDebInfo asn1.vcxproj


Regards,
Pascal.