1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmTestGenerator.h,v $
6 Date: $Date: 2009-03-16 14:51:23 $
7 Version: $Revision: 1.2 $
9 Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
10 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
17 #ifndef cmTestGenerator_h
18 #define cmTestGenerator_h
20 #include "cmScriptGenerator.h"
24 /** \class cmTestGenerator
25 * \brief Support class for generating install scripts.
28 class cmTestGenerator
: public cmScriptGenerator
31 cmTestGenerator(cmTest
* test
,
32 std::vector
<std::string
> const&
33 configurations
= std::vector
<std::string
>());
34 virtual ~cmTestGenerator();
37 virtual void GenerateScriptConfigs(std::ostream
& os
, Indent
const& indent
);
38 virtual void GenerateScriptActions(std::ostream
& os
, Indent
const& indent
);
39 virtual void GenerateScriptForConfig(std::ostream
& os
,
41 Indent
const& indent
);
42 void GenerateOldStyle(std::ostream
& os
, Indent
const& indent
);