1
0
Эх сурвалжийг харах

Recognize the PathScale C/C++/Fortran compilers

Brad King 16 жил өмнө
parent
commit
1e9f58e605

+ 3 - 0
Modules/CMakeCCompilerId.c.in

@@ -36,6 +36,9 @@
 #elif defined(__PGI)
 # define COMPILER_ID "PGI"
 
+#elif defined(__PATHSCALE__)
+# define COMPILER_ID "PathScale"
+
 #elif defined(__GNUC__)
 # define COMPILER_ID "GNU"
 

+ 3 - 0
Modules/CMakeCXXCompilerId.cpp.in

@@ -38,6 +38,9 @@
 #elif defined(__PGI)
 # define COMPILER_ID "PGI"
 
+#elif defined(__PATHSCALE__)
+# define COMPILER_ID "PathScale"
+
 #elif defined(__GNUC__)
 # define COMPILER_ID "GNU"
 

+ 2 - 0
Modules/CMakeFortranCompilerId.F.in

@@ -8,6 +8,8 @@
         PRINT *, 'INFO:compiler[SunPro]'
 #elif defined(__G95__)
         PRINT *, 'INFO:compiler[G95]'
+#elif defined(__PATHSCALE__)
+        PRINT *, 'INFO:compiler[PathScale]'
 #elif defined(__GNUC__)
         PRINT *, 'INFO:compiler[GNU]'
 #elif defined(__IBMC__)