-
- Downloads
Add options to launch the compiler through tools like ccache or distcc
Create a <LANG>_COMPILER_LAUNCHER target property (initialized by a CMAKE_<LANG>_COMPILER_LAUNCHER variable) to specify a compiler launcher tool. This will supersede the CMAKE_<LANG>_COMPILER_ARG1 approach to using such tools. The old approach set CMAKE_<LANG>_COMPILER to the launcher tool while the new approach leaves this variable set to the actual compiler. Implement this property for Makefile and Ninja generators. It cannot be implemented for VS or Xcode generators as the IDE build tools offer no such hooks.
Showing
- Help/manual/cmake-properties.7.rst 1 addition, 0 deletionsHelp/manual/cmake-properties.7.rst
- Help/manual/cmake-variables.7.rst 1 addition, 0 deletionsHelp/manual/cmake-variables.7.rst
- Help/prop_tgt/LANG_COMPILER_LAUNCHER.rst 13 additions, 0 deletionsHelp/prop_tgt/LANG_COMPILER_LAUNCHER.rst
- Help/release/dev/compiler-launcher.rst 8 additions, 0 deletionsHelp/release/dev/compiler-launcher.rst
- Help/variable/CMAKE_LANG_COMPILER_LAUNCHER.rst 6 additions, 0 deletionsHelp/variable/CMAKE_LANG_COMPILER_LAUNCHER.rst
- Source/cmMakefileTargetGenerator.cxx 19 additions, 0 deletionsSource/cmMakefileTargetGenerator.cxx
- Source/cmNinjaTargetGenerator.cxx 20 additions, 0 deletionsSource/cmNinjaTargetGenerator.cxx
- Source/cmTarget.cxx 2 additions, 0 deletionsSource/cmTarget.cxx
- Tests/RunCMake/CMakeLists.txt 1 addition, 0 deletionsTests/RunCMake/CMakeLists.txt
- Tests/RunCMake/CompilerLauncher/C-Build-stdout.txt 1 addition, 0 deletionsTests/RunCMake/CompilerLauncher/C-Build-stdout.txt
- Tests/RunCMake/CompilerLauncher/C-launch-Build-stdout.txt 1 addition, 0 deletionsTests/RunCMake/CompilerLauncher/C-launch-Build-stdout.txt
- Tests/RunCMake/CompilerLauncher/C-launch.cmake 3 additions, 0 deletionsTests/RunCMake/CompilerLauncher/C-launch.cmake
- Tests/RunCMake/CompilerLauncher/C.cmake 4 additions, 0 deletionsTests/RunCMake/CompilerLauncher/C.cmake
- Tests/RunCMake/CompilerLauncher/CMakeLists.txt 3 additions, 0 deletionsTests/RunCMake/CompilerLauncher/CMakeLists.txt
- Tests/RunCMake/CompilerLauncher/CXX-Build-stdout.txt 1 addition, 0 deletionsTests/RunCMake/CompilerLauncher/CXX-Build-stdout.txt
- Tests/RunCMake/CompilerLauncher/CXX-launch-Build-stdout.txt 1 addition, 0 deletionsTests/RunCMake/CompilerLauncher/CXX-launch-Build-stdout.txt
- Tests/RunCMake/CompilerLauncher/CXX-launch.cmake 3 additions, 0 deletionsTests/RunCMake/CompilerLauncher/CXX-launch.cmake
- Tests/RunCMake/CompilerLauncher/CXX.cmake 4 additions, 0 deletionsTests/RunCMake/CompilerLauncher/CXX.cmake
- Tests/RunCMake/CompilerLauncher/RunCMakeTest.cmake 23 additions, 0 deletionsTests/RunCMake/CompilerLauncher/RunCMakeTest.cmake
- Tests/RunCMake/CompilerLauncher/main.c 3 additions, 0 deletionsTests/RunCMake/CompilerLauncher/main.c
Loading
Please register or sign in to comment