Lucas Wilcox wrote:
* Lucas Wilcox <[EMAIL PROTECTED]> [2008-04-23 11:49:03 -0500]:

Hi,

I am trying to setup Debug and Release builds using icc
(intel's c compiler) on Linux.  It seems as though
   CMAKE_C_FLAGS_DEBUG
   CMAKE_C_FLAGS_MINSIZEREL
   CMAKE_C_FLAGS_RELEASE
   CMAKE_C_FLAGS_RELWITHDEBINFO
are not being set.  Although
   CMAKE_CXX_FLAGS_DEBUG
   CMAKE_CXX_FLAGS_MINSIZEREL
   CMAKE_CXX_FLAGS_RELEASE_INIT
   CMAKE_CXX_FLAGS_RELWITHDEBINFO
are being set correctly.  I tried both
  cmake version 2.6-patch 0 RC-8
  cmake version 2.4-patch 6
with the same results.

I figured out what the problem is.  There doesn't exist
a Linux-icc.cmake file.  Can someone please add the
attached Linux-icc.cmake file to the CVS repository in
the Modules/Platform directory?

Can you try cvs now:


$ cvs commit -m "ENH: support intel compiler on linux " Linux-Intel-C* Linux-icpc.cmake
grep: Linux-icpc.cmake: No such file or directory
grep: Linux-icpc.cmake: No such file or directory
grep: Linux-icpc.cmake: No such file or directory
grep: Linux-icpc.cmake: No such file or directory
/cvsroot/CMake/CMake/Modules/Platform/Linux-Intel-C.cmake,v <-- Linux-Intel-C.cmake
initial revision: 1.1
/cvsroot/CMake/CMake/Modules/Platform/Linux-Intel-CXX.cmake,v <-- Linux-Intel-CXX.cmake
initial revision: 1.1
/cvsroot/CMake/CMake/Modules/Platform/Linux-icpc.cmake,v <-- Linux-icpc.cmake
new revision: delete; previous revision: 1.2

I also removed Linux-icpc.cmake in favor of the new compiler id name. If you have an intel CXX/C compiler set can you please give this change a try? Thanks.

-Bill

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to