CMake/Tests/RunCMake/IncludeWhatYouUse/C-launch.cmake
Brad King b3475ba57b Makefile: Fix <LANG>_INCLUDE_WHAT_YOU_USE with CTEST_USE_LAUNCHERS
The 'ctest --launch' command must be placed before the IWYU launcher on
the compiler command line.  Extend the RunCMake.IncludeWhatYouUse test
to cover this case.  The Ninja generator already does it correctly.
2015-05-22 08:44:46 -04:00

4 lines
71 B
CMake

set(CTEST_USE_LAUNCHERS 1)
include(CTestUseLaunchers)
include(C.cmake)