summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-04-30 22:10:37 (GMT)
committerBrad King <brad.king@kitware.com>2007-04-30 22:10:37 (GMT)
commit5f1db8b24906fbf8441b4bb1e0c9f343bec6bb30 (patch)
tree5fa75d4099fb815a5a6b0bbc021cee47ddb84dc5
parent3b744d0804a797706dbe252e17c0c07ba88a8fe6 (diff)
downloadCMake-5f1db8b24906fbf8441b4bb1e0c9f343bec6bb30.zip
CMake-5f1db8b24906fbf8441b4bb1e0c9f343bec6bb30.tar.gz
CMake-5f1db8b24906fbf8441b4bb1e0c9f343bec6bb30.tar.bz2
STYLE: Added comment explaining choice of file extension.
-rw-r--r--Modules/CMakeCXXCompilerId.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeCXXCompilerId.cpp b/Modules/CMakeCXXCompilerId.cpp
index f133147..87baea2 100644
--- a/Modules/CMakeCXXCompilerId.cpp
+++ b/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