From 5f1db8b24906fbf8441b4bb1e0c9f343bec6bb30 Mon Sep 17 00:00:00 2001 From: Brad King <brad.king@kitware.com> Date: Mon, 30 Apr 2007 18:10:37 -0400 Subject: STYLE: Added comment explaining choice of file extension. --- Modules/CMakeCXXCompilerId.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v0.12