Wireshark mailing list archives

Re: Plugin Version


From: Paul Offord <Paul.Offord () advance7 com>
Date: Mon, 18 Jan 2016 21:56:59 +0000

Thanks Pascal – that’s fixed it.

Best regards…Paul

From: wireshark-dev-bounces () wireshark org [mailto:wireshark-dev-bounces () wireshark org] On Behalf Of Pascal Quantin
Sent: 18 January 2016 20:16
To: Developer support list for Wireshark <wireshark-dev () wireshark org>
Subject: Re: [Wireshark-dev] Plugin Version

Hi Paul,

2016-01-18 14:37 GMT+01:00 Paul Offord <Paul.Offord () advance7 com<mailto:Paul.Offord () advance7 com>>:
Hi,

I’m having problems setting the Version information for a plugin I have developed.  I’ve changed the version 
information in moduleinfo.nmake:

# The version
MODULE_VERSION_MAJOR=0
MODULE_VERSION_MINOR=99
MODULE_VERSION_MICRO=3
MODULE_VERSION_EXTRA=0

and in CMakeLists.txt:

set_module_info(syncro 0 99 3 0)

I then run:

cmake -D ENABLE_CHM_GUIDES=on -G "Visual Studio 12 Win64" ..\

but the About Wireshark -> Plugins info shows as 0.0.1.

Is there somewhere else I need to change the version details?

No need to modify moduleinfo.nmake if you are using CMake.
But you need to modify moduleinfo.h file: this is the one containing the version string as displayed in Wireshark GUI. 
CMakeList.txt contains the version info as displayed in Windows properties when you right click on the dll file.
Regards,
Pascal.


______________________________________________________________________

This message contains confidential information and is intended only for the individual named. If you are not the named 
addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if 
you have received this e-mail by mistake and delete this e-mail from your system.

Any views or opinions expressed are solely those of the author and do not necessarily represent those of Advance Seven 
Ltd. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, 
corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept 
liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.

Advance Seven Ltd. Registered in England & Wales numbered 2373877 at Endeavour House, Coopers End Lane, Stansted, Essex 
CM24 1SJ

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: