Wireshark mailing list archives

Re: Windows automated builds migrated to CMake


From: Gerald Combs <gerald () wireshark org>
Date: Thu, 16 Apr 2015 09:09:28 -0700

On 4/16/15 5:55 AM, Graham Bloice wrote:

This is down to the subsystem type.  The nmake builds are marked as
"Windows Gui" and the CMake builds as "Windows Console".  It's a linker
flag, supplied in $(guiflags) for nmake builds (or $(conflags) for command
line programs e.g. tshark.exe).

I think CMake requires a set_target_properties(target_name PROPERTIES
LINK_FLAGS "/SUBSYSTEM:WINDOWS") call for each gui target.

add_executable has a WIN32 flag which appears to take care of this.
Unfortunately it reveals another problem -- we don't have a WinMain entry
point in wireshark-qt.cpp.
___________________________________________________________________________
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: