[cmake-developers] Test for compiler flags ineffective with xlc?
Stephen Kelly
steveire at gmail.com
Thu Aug 11 11:23:50 EDT 2011
Hi,
In this build log the test for -fvisibility=hidden results in success, but
when the flag is used it fails:
http://www.cdash.org/CDash/testDetails.php?test=109109951&build=1419259
I'm guessing that compiler treats -f<foo> as a filename for some reason. Can
anything be done about that? Should I just exclude that platform from
performing the test? How? Would if (${CMAKE_CXX_COMPILER_ID} MATCHES xlC)
match?
Thanks,
Steve.
More information about the cmake-developers
mailing list