diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-05-21 13:50:24 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-05-21 13:50:24 (GMT) |
commit | 06f403b274cb80b024f0c8adbe7137d9ac99f344 (patch) | |
tree | efedfda1444510d6c0379ad680e1b65184cc40fa /Source/MFCDialog | |
parent | 4a2ebf219d8f3853c37b184e16f620fb193e3c13 (diff) | |
download | CMake-06f403b274cb80b024f0c8adbe7137d9ac99f344.zip CMake-06f403b274cb80b024f0c8adbe7137d9ac99f344.tar.gz CMake-06f403b274cb80b024f0c8adbe7137d9ac99f344.tar.bz2 |
updated for out of tree builds
Diffstat (limited to 'Source/MFCDialog')
-rw-r--r-- | Source/MFCDialog/CMakeSetupDialog.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp index c2de964..9c5a0f1 100644 --- a/Source/MFCDialog/CMakeSetupDialog.cpp +++ b/Source/MFCDialog/CMakeSetupDialog.cpp @@ -319,6 +319,8 @@ void CMakeSetupDialog::OnBuildProjects() } // Make sure we are working from the cache on disk this->LoadCacheFromDiskToGUI(); + +// duh // Create a makefile object cmMakefile makefile; makefile.SetMakefileGenerator(new cmMSProjectGenerator); @@ -343,6 +345,8 @@ void CMakeSetupDialog::OnBuildProjects() makefile.GenerateMakefile(); // Save the cache cmCacheManager::GetInstance()->SaveCache(&makefile); +// end duh + // update the GUI with any new values in the caused by the // generation process this->LoadCacheFromDiskToGUI(); @@ -471,7 +475,7 @@ void CMakeSetupDialog::LoadCacheFromDiskToGUI() ("CMAKE_ROOT", root.c_str(), "Path to CMake installation.", cmCacheManager::INTERNAL); std::string cMakeCMD = "\""+cmSystemTools::GetProgramPath(fname); - cMakeCMD += "/CMakeSetupCMD.exe\""; + cMakeCMD += "/cmake.exe\""; // Save the value in the cache cmCacheManager::GetInstance()->AddCacheEntry("CMAKE_COMMAND", |