1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmakewizard.h,v $
6 Date: $Date: 2006-03-15 16:02:08 $
7 Version: $Revision: 1.14 $
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 =========================================================================*/
19 #include "cmMakefile.h"
25 virtual ~cmakewizard() {}
27 * Prompt the user to see if they want to see advanced entries.
29 virtual bool AskAdvanced();
32 * Prompt the User for a new value for key, the answer is put in entry.
34 virtual void AskUser(const char* key
, cmCacheManager::CacheIterator
& iter
);
35 ///! Show a message to wait for cmake to run.
36 virtual void ShowMessage(const char*);
39 * Run cmake in wizard mode. This will coninue to ask the user questions
40 * until there are no more entries in the cache.
42 int RunWizard(std::vector
<std::string
>const& args
);