[CMake] Supporting the Intel Compiler -- building static libraries
Bill Hoffman
bill.hoffman at kitware.com
Fri Apr 18 11:32:41 EDT 2008
Blezek, Daniel J., Ph.D. wrote:
> Bill Hoffman wrote:
>> Yes, it would, and it should go in the Platforms directory for the
>> compiler. Is Linux-icpc.cmake the one that gets included for you?
>
> $ grep Linux-icpc */*
> CMakeFiles/Makefile.cmake:
> "/mi3c/software/share/cmake-2.4/Modules/Platform/Linux-icpc.cmake"
>
> -dan
>
OK, so that is the file being used. Can you try adding the following
to the end of Linux-icpc.cmake and see if it works out of the box for you:
FIND_PROGRAM(XIAR xiar)
IF(XIAR)
SET( CMAKE_AR "${XIAR}")
ENDIF(XIAR)
MARK_AS_ADVANCED(XIAR)
More information about the CMake
mailing list