summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-01-13 17:12:39 (GMT)
committerBrad King <brad.king@kitware.com>2010-01-13 17:12:39 (GMT)
commit1e9f58e6057c812ceda827c22c8c3538c95ae0e6 (patch)
tree6a6b8f3bc455f63ba6d0222ef9eba1538d4d34fa
parent9ef3f8e82036a28c4f0375ec65eb25864a5240ca (diff)
downloadCMake-1e9f58e6057c812ceda827c22c8c3538c95ae0e6.zip
CMake-1e9f58e6057c812ceda827c22c8c3538c95ae0e6.tar.gz
CMake-1e9f58e6057c812ceda827c22c8c3538c95ae0e6.tar.bz2
Recognize the PathScale C/C++/Fortran compilers
-rw-r--r--Modules/CMakeCCompilerId.c.in3
-rw-r--r--Modules/CMakeCXXCompilerId.cpp.in3
-rw-r--r--Modules/CMakeFortranCompilerId.F.in2
3 files changed, 8 insertions, 0 deletions
diff --git a/Modules/CMakeCCompilerId.c.in b/Modules/CMakeCCompilerId.c.in
index 6cd6437..5d004c7 100644
--- a/Modules/CMakeCCompilerId.c.in
+++ b/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"
diff --git a/Modules/CMakeCXXCompilerId.cpp.in b/Modules/CMakeCXXCompilerId.cpp.in
index 2c8aa3c..00ab8e2 100644
--- a/Modules/CMakeCXXCompilerId.cpp.in
+++ b/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"
diff --git a/Modules/CMakeFortranCompilerId.F.in b/Modules/CMakeFortranCompilerId.F.in
index c92f127..107470c 100644
--- a/Modules/CMakeFortranCompilerId.F.in
+++ b/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__)