[cmake-developers] [Cdash] Problem with cdash, subprojects and CTEST_USE_LAUNCHERS=TRUE?

Alexander Neundorf neundorf at kde.org
Mon Aug 20 17:23:38 EDT 2012


On Monday 20 August 2012, Alexander Neundorf wrote:
> On Monday 20 August 2012, Alexander Neundorf wrote:
> ...
> 
> > I'm looking at it right now...
> > I actually haven't figured out yet how that launchers feature works.
> > Should the string "launch" (or "--launch") appear somewhere in the
> > buildtree as soon as I include CTest ?
> 
> Ah, wait, I got it: this happens in the testing build tree where cmake is
> executed from within ctest, right ?

Ok, here is a first try in the 
ErrorIfCTEST_USE_LAUNCHERSSetButLauncherRuleNotSet branch on cmake stage.

It does now the following:
~/src/CMake/tests/ltest/b$ /opt/cmake-HEAD/bin/cmake -
DCTEST_USE_LAUNCHERS=TRUE ..
-- Configuring done
CMake Error: CTEST_USE_LAUNCHERS is enabled, but the RULE_LAUNCH_COMPILE 
global property is not defined.
Did you forget to include(CTest) in the toplevel CMakeLists.txt ?
~/src/CMake/tests/ltest/b$ 

Alex



More information about the cmake-developers mailing list