On Mon, Aug 20, 2012 at 5:23 PM, Alexander Neundorf <[email protected]>wrote:

> 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
>


I think this should just be a warning. Do you think it's necessary to make
it an error condition?
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to