Introduce "generator expressions" to add_test()
[cmake.git] / Source / cmakewizard.h
blob79f8afb7ac9256391b4991036eff3ef1ec99e116
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmakewizard.h,v $
5 Language: C++
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"
21 class cmakewizard
23 public:
24 cmakewizard();
25 virtual ~cmakewizard() {}
26 /**
27 * Prompt the user to see if they want to see advanced entries.
29 virtual bool AskAdvanced();
31 /**
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*);
38 /**
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);
44 private:
45 bool ShowAdvanced;