[CMake] ctest and multiple CTEST_SCRIPT_ARG

Ken Martin ken.martin at kitware.com
Mon Feb 21 09:20:38 EST 2005


I think you can pass a semicolon separated list of arguments and then use
the MACRO command to pick out ARGV0 and ARGV1 etc. We really some sort of
simple list command to do that but MACRO can get the job done.

Ken

> -----Original Message-----
> From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On Behalf
> Of Jan Woetzel
> Sent: Monday, February 21, 2005 7:52 AM
> To: cmake at www.cmake.org
> Subject: [CMake] ctest and multiple CTEST_SCRIPT_ARG
> 
> 
> Hi,
> I am using "ctest -S<myscript>" as scripted Dart client.
> 
> (1) Is it possible to access *multiple* command line arguments, e.g.
> with CTEST_SCRIPT_ARG ?
> 
> I am using CTEST_SCRIPT_ARG to set the build type (Debug, Release, P4
> etc.).
> It would be nice to set the Model. (Nightly, Experimental) with a second
> argument when invoking the script.
> 
> Thanks, Jan.
> 
> --
> 
>   Dipl.-Ing. Jan Woetzel
> --------------------------------------------------
>   University of Kiel
>   Institute of Computer Science and Applied Mathematics
>   Hermann-Rodewald-Str. 3 [room 401]
>   24098 Kiel/Germany
> --------------------------------------------------
>   Phone +49-431-880-1418
>   Fax   +49-431-880-4054
>   Mob.  +49-179-2937346
> --------------------------------------------------
>   Url   www.mip.informatik.uni-kiel.de/~jw
>   Email jw at mip.informatik.uni-kiel.de
> 
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list