[Cmake-commits] [cmake-commits] king committed CMakeDetermineCCompiler.cmake 1.55 1.56

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Jul 8 09:15:01 EDT 2009


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

Modified Files:
	CMakeDetermineCCompiler.cmake 
Log Message:
ENH: Identify HP C compiler

This compiler does not enable ANSI mode by default.  When identifying
the C compiler we try passing -Aa in case it is the HP compiler.


Index: CMakeDetermineCCompiler.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CMakeDetermineCCompiler.cmake,v
retrieving revision 1.55
retrieving revision 1.56
diff -C 2 -d -r1.55 -r1.56
*** CMakeDetermineCCompiler.cmake	8 Sep 2008 21:43:31 -0000	1.55
--- CMakeDetermineCCompiler.cmake	8 Jul 2009 13:14:56 -0000	1.56
***************
*** 108,111 ****
--- 108,114 ----
      # Try compiling to an object file only.
      "-c"
+ 
+     # Try enabling ANSI mode on HP.
+     "-Aa"
      )
  



More information about the Cmake-commits mailing list