[CMake] Compile/install on HPUX on ia64 (Itanium)
brad.king at kitware.com
Tue Jun 27 10:03:19 EDT 2006
David Akdikmen wrote:
> First problem is that ATTR_UNUSED is being expanded to __attribute__(..)
> which is a GNU compiler feature. Looks like the
> TRY_COMPILE_FROM_SOURCE("int x __attribute__((__unused__))"
> In Utilities/cmxmlrpc/CMakeLists.txt is succeeding when it should not.
Look for a file called CMakeOutput.log in the build tree. It should be
under the CMakeFiles directory. That log file should contain the
compiler output from the successful build of that try-compile source.
There is also a CMakeError.log containing the output of try-comiples
that failed. Make sure this try-compile appears in one of them. It may
tell you why the wrong result was obtained.
More information about the CMake