summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompilerLauncher/Fortran-launch.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-21 19:40:42 (GMT)
committerBrad King <brad.king@kitware.com>2017-11-21 19:44:01 (GMT)
commitf19c70c3d29f277f82f18820d36ca17e9ba398ae (patch)
treec6f63181636533d673dcf4d9ad9c85679f94e77e /Tests/RunCMake/CompilerLauncher/Fortran-launch.cmake
parentbaa19f658f947047dddac0228bcd52591829983d (diff)
downloadCMake-f19c70c3d29f277f82f18820d36ca17e9ba398ae.zip
CMake-f19c70c3d29f277f82f18820d36ca17e9ba398ae.tar.gz
CMake-f19c70c3d29f277f82f18820d36ca17e9ba398ae.tar.bz2
Fortran: Add option to run the compiler through launcher tools
Add a `Fortran_COMPILER_LAUNCHER` target property like those added for C and CXX by commit v3.4.0-rc1~450^2 (Add options to launch the compiler through tools like ccache or distcc, 2015-06-04) and CUDA by commit v3.10.0-rc1~531^2 (CUDA: Add option to run the compiler through launcher tools, 2017-06-09). Fixes: #17499
Diffstat (limited to 'Tests/RunCMake/CompilerLauncher/Fortran-launch.cmake')
-rw-r--r--Tests/RunCMake/CompilerLauncher/Fortran-launch.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CompilerLauncher/Fortran-launch.cmake b/Tests/RunCMake/CompilerLauncher/Fortran-launch.cmake
new file mode 100644
index 0000000..7e9a564
--- /dev/null
+++ b/Tests/RunCMake/CompilerLauncher/Fortran-launch.cmake
@@ -0,0 +1,3 @@
+set(CTEST_USE_LAUNCHERS 1)
+include(CTestUseLaunchers)
+include(Fortran.cmake)