summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-08-12 13:48:32 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-08-12 13:48:32 (GMT)
commite01cb16cdbeac38c1b23e651137efc29116d2c48 (patch)
tree88a1d59fa76d08f0d84bddf88a795c4197228baf
parent354c792c9de5759a4484dc157a206e06012e83c6 (diff)
parent0578c283e88c40957c7f43c653dd8c75d8c7782e (diff)
downloadCMake-e01cb16cdbeac38c1b23e651137efc29116d2c48.zip
CMake-e01cb16cdbeac38c1b23e651137efc29116d2c48.tar.gz
CMake-e01cb16cdbeac38c1b23e651137efc29116d2c48.tar.bz2
Merge topic 'fujitsu-compiler-id'
0578c283 Add Fujitsu compiler detection
-rw-r--r--Modules/CMakeCompilerIdDetection.cmake1
-rw-r--r--Modules/Compiler/Fujitsu-DetermineCompiler.cmake2
2 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeCompilerIdDetection.cmake b/Modules/CMakeCompilerIdDetection.cmake
index e247885..19bcbcc 100644
--- a/Modules/CMakeCompilerIdDetection.cmake
+++ b/Modules/CMakeCompilerIdDetection.cmake
@@ -74,6 +74,7 @@ function(compiler_id_detection outvar lang)
PGI
Cray
TI
+ Fujitsu
)
if (lang STREQUAL C)
list(APPEND ordered_compilers
diff --git a/Modules/Compiler/Fujitsu-DetermineCompiler.cmake b/Modules/Compiler/Fujitsu-DetermineCompiler.cmake
new file mode 100644
index 0000000..73ee38c
--- /dev/null
+++ b/Modules/Compiler/Fujitsu-DetermineCompiler.cmake
@@ -0,0 +1,2 @@
+
+set(_compiler_id_pp_test "defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)")