diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-09-17 17:59:58 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-09-17 17:59:58 (GMT) |
commit | 2a68d21e8550b64641769b11691d74ae9bb37217 (patch) | |
tree | 311f400a6633897fdeab49470985d19dbd78dfe6 /Source/cmakewizard.cxx | |
parent | e68e917d9fbfa88426d3fc69f9eab4f36e9c585d (diff) | |
download | CMake-2a68d21e8550b64641769b11691d74ae9bb37217.zip CMake-2a68d21e8550b64641769b11691d74ae9bb37217.tar.gz CMake-2a68d21e8550b64641769b11691d74ae9bb37217.tar.bz2 |
cleaned up some of the cmake interface
Diffstat (limited to 'Source/cmakewizard.cxx')
-rw-r--r-- | Source/cmakewizard.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmakewizard.cxx b/Source/cmakewizard.cxx index 608b46c..db86ef1 100644 --- a/Source/cmakewizard.cxx +++ b/Source/cmakewizard.cxx @@ -89,6 +89,9 @@ void cmakewizard::RunWizard(std::vector<std::string> const& args) cmSystemTools::DisableRunCommandOutput(); cmake make; make.SetArgs(args); + make.SetCMakeCommand(args[0].c_str()); + make.LoadCache(); + make.SetCacheArgs(args); std::map<std::string,std::string> askedCache; bool asked = false; // continue asking questions until no new questions are asked @@ -98,7 +101,7 @@ void cmakewizard::RunWizard(std::vector<std::string> const& args) // run cmake this->ShowMessage("Please wait while cmake processes CMakeLists.txt files....\n"); - make.Configure(args[0].c_str(),&args); + make.Configure(); this->ShowMessage("\n"); // load the cache from disk cmCacheManager *cachem = make.GetCacheManager(); |