diff options
author | Brad King <brad.king@kitware.com> | 2015-12-09 13:36:53 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-12-09 13:36:53 (GMT) |
commit | ad1be6ee769ecaba4d6dadae84c0fc372049a333 (patch) | |
tree | 0598d967da72368d8ebe34537fed41937719f9da /Modules/Compiler/CrayPrgEnv-C.cmake | |
parent | 27ed820c816a80bf140613cb2f47ccb2f21b021f (diff) | |
parent | a7ef02253bf8ef33d4ffdd761802ea30ef289b8a (diff) | |
download | CMake-ad1be6ee769ecaba4d6dadae84c0fc372049a333.zip CMake-ad1be6ee769ecaba4d6dadae84c0fc372049a333.tar.gz CMake-ad1be6ee769ecaba4d6dadae84c0fc372049a333.tar.bz2 |
Merge topic 'detect-cray-wrappers'
a7ef0225 Cray: Refactor the Cray platform files to use compiler wrapper checks
0763a836 Cray: Add macro tests to detect the Cray compiler wrappers
5eaac0c9 Compiler: Add infrastructure for detecting compiler wrappers
Diffstat (limited to 'Modules/Compiler/CrayPrgEnv-C.cmake')
-rw-r--r-- | Modules/Compiler/CrayPrgEnv-C.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Modules/Compiler/CrayPrgEnv-C.cmake b/Modules/Compiler/CrayPrgEnv-C.cmake new file mode 100644 index 0000000..6b461ce --- /dev/null +++ b/Modules/Compiler/CrayPrgEnv-C.cmake @@ -0,0 +1,11 @@ +if(__craylinux_crayprgenv_c) + return() +endif() +set(__craylinux_crayprgenv_c 1) + +include(Compiler/CrayPrgEnv) +macro(__CrayPrgEnv_setup_C compiler_cmd link_cmd) + __CrayPrgEnv_setup(C + ${CMAKE_ROOT}/Modules/CMakeCCompilerABI.c + ${compiler_cmd} ${link_cmd}) +endmacro() |