浏览代码

STYLE: comment which says which variables this macro sets

Alex
Alexander Neundorf 18 年之前
父节点
当前提交
412c0f4a61
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Modules/CMakeDetermineCompilerId.cmake

+ 2 - 0
Modules/CMakeDetermineCompilerId.cmake

@@ -1,6 +1,8 @@
 
 
 # Macro to compile a source file to identify the compiler.  This is
 # Macro to compile a source file to identify the compiler.  This is
 # used internally by CMake and should not be included by user code.
 # used internally by CMake and should not be included by user code.
+# If successful, sets CMAKE_<lang>_COMPILER_ID and CMAKE_<lang>_PLATFORM_ID
+
 MACRO(CMAKE_DETERMINE_COMPILER_ID lang src)
 MACRO(CMAKE_DETERMINE_COMPILER_ID lang src)
   # Store the compiler identification source file.
   # Store the compiler identification source file.
   SET(CMAKE_${lang}_COMPILER_ID_SRC "${src}")
   SET(CMAKE_${lang}_COMPILER_ID_SRC "${src}")