~ubuntu-branches/ubuntu/utopic/cmake/utopic

« back to all changes in this revision

Viewing changes to Modules/CMakeDetermineCCompiler.cmake

  • Committer: Package Import Robot
  • Author(s): Harald Sitter
  • Date: 2013-10-10 12:54:39 UTC
  • mfrom: (1.14.7)
  • Revision ID: package-import@ubuntu.com-20131010125439-h0ahaj004on6oj92
Tags: 2.8.12-0ubuntu1
New upstream release LP: #1246701

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
  set(CMAKE_C_COMPILER_ID)
121
121
  file(READ ${CMAKE_ROOT}/Modules/CMakePlatformId.h.in
122
122
    CMAKE_C_COMPILER_ID_PLATFORM_CONTENT)
 
123
 
 
124
  # The IAR compiler produces weird output.
 
125
  # See http://www.cmake.org/Bug/view.php?id=10176#c19598
 
126
  list(APPEND CMAKE_C_COMPILER_ID_VENDORS IAR)
 
127
  set(CMAKE_C_COMPILER_ID_VENDOR_FLAGS_IAR )
 
128
  set(CMAKE_C_COMPILER_ID_VENDOR_REGEX_IAR "IAR .+ Compiler")
 
129
 
123
130
  include(${CMAKE_ROOT}/Modules/CMakeDetermineCompilerId.cmake)
124
131
  CMAKE_DETERMINE_COMPILER_ID(C CFLAGS CMakeCCompilerId.c)
125
132