Wireshark mailing list archives
Re: Doing test compiles in CMake to check whether to use particular compiler options
From: Michael Tuexen <Michael.Tuexen () lurchi franken de>
Date: Sun, 14 Jul 2013 19:56:45 +0200
\On Jul 14, 2013, at 7:03 PM, Guy Harris <guy () alum mit edu> wrote:
On Jul 14, 2013, at 5:39 AM, tuexen () wireshark org wrote:http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=50576 User: tuexen Date: 2013/07/14 05:39 AM Log: Don't use compiler options not supported by clang in XCode 4.6.3 on Apple platforms.Should try_compile() be used with CMake to test whether particular compiler options are supported by the C compiler, just as the autoconf script uses AC_COMPILE_IFELSE? (Sadly, it appears that CMake would require that the test program be in a file of its own, rather than letting you embed it in the script, as autoconf does.)
Possibly... Just wanted a to get rid of the warnings... Best regards Michael
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Doing test compiles in CMake to check whether to use particular compiler options Guy Harris (Jul 14)
- Re: Doing test compiles in CMake to check whether to use particular compiler options Michael Tuexen (Jul 14)
- Re: Doing test compiles in CMake to check whether to use particular compiler options Guy Harris (Jul 15)