[cmake-commits] king committed CMakeCXXCompilerId.cpp 1.2 1.3

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Apr 30 18:10:39 EDT 2007


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv13307

Modified Files:
	CMakeCXXCompilerId.cpp 
Log Message:
STYLE: Added comment explaining choice of file extension.


Index: CMakeCXXCompilerId.cpp
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CMakeCXXCompilerId.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CMakeCXXCompilerId.cpp	28 Apr 2007 13:35:01 -0000	1.2
+++ CMakeCXXCompilerId.cpp	30 Apr 2007 22:10:37 -0000	1.3
@@ -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



More information about the Cmake-commits mailing list