On Jul 14, 2013, at 10:03 AM, Guy Harris <[email protected]> wrote:

> 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.)

Nope, it appears that CHECK_C_SOURCE_COMPILES() can take source code as an 
argument.  (I couldn't find the string "case-sensitive" in the CMake 
documentation, so I assume macro/function/etc. names are case-insensitive.)

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to