Преглед изворни кода

STYLE: Added comment explaining choice of file extension.

Brad King пре 18 година
родитељ
комит
5f1db8b249
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      Modules/CMakeCXXCompilerId.cpp

+ 3 - 0
Modules/CMakeCXXCompilerId.cpp

@@ -1,3 +1,6 @@
+/* This source file must have a .cpp extension so that all C++ compilers
+   recognize the extension without flags.  Borland does not know .cxx for
+   example.  */
 #ifndef __cplusplus
 # error "A C compiler has been selected for C++."
 #endif