summaryrefslogtreecommitdiffstats
path: root/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx
diff options
context:
space:
mode:
authorLuis Ibanez <luis.ibanez@kitware.com>2001-06-21 11:37:49 (GMT)
committerLuis Ibanez <luis.ibanez@kitware.com>2001-06-21 11:37:49 (GMT)
commit8fe1e1fcc6be2de71ebe3ce2e252c2e8bd75931b (patch)
treedc800ad187dcc2603f743f57f525679677974a60 /Source/FLTKDialog/CMakeSetupGUIImplementation.cxx
parentd21fca47a968202aec241b60d0c44d367171c221 (diff)
downloadCMake-8fe1e1fcc6be2de71ebe3ce2e252c2e8bd75931b.zip
CMake-8fe1e1fcc6be2de71ebe3ce2e252c2e8bd75931b.tar.gz
CMake-8fe1e1fcc6be2de71ebe3ce2e252c2e8bd75931b.tar.bz2
ENH: PropertyNameButton was removed. PropertyRow manages all the callbacks now
Diffstat (limited to 'Source/FLTKDialog/CMakeSetupGUIImplementation.cxx')
-rw-r--r--Source/FLTKDialog/CMakeSetupGUIImplementation.cxx21
1 files changed, 8 insertions, 13 deletions
diff --git a/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx b/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx
index 4206e57..5dca254 100644
--- a/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx
+++ b/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx
@@ -141,8 +141,6 @@ CMakeSetupGUIImplementation
}
*p = '\0';
- std::cout << "absolutePath = " << absolutePath << std::endl;
-
m_PathToExecutable = absolutePath;
#if defined(_WIN32)
@@ -150,7 +148,7 @@ CMakeSetupGUIImplementation
#else
m_PathToExecutable += "/cmake";
#endif
- std::cout << "Path to CMake executable = " << m_PathToExecutable << std::endl;
+
}
@@ -324,20 +322,15 @@ CMakeSetupGUIImplementation
}
- SaveCacheFromGUI();
-
// set the wait cursor
fl_cursor(FL_CURSOR_WAIT,FL_BLACK,FL_WHITE);
- // get all the info from the dialog
- // this->UpdateData();
- if(!m_BuildPathChanged)
- {
- // if the build path has not changed save the
- // current GUI values to the cache
- this->SaveCacheFromGUI();
- }
+
+ // save the current GUI values to the cache
+ this->SaveCacheFromGUI();
+
// Make sure we are working from the cache on disk
this->LoadCacheFromDiskToGUI();
+
// create a cmake object
cmake make;
// create the arguments for the cmake object
@@ -394,12 +387,14 @@ void
CMakeSetupGUIImplementation
::SaveCacheFromGUI( void )
{
+ std::cout << "Saving cache from GUI ...";
this->FillCacheManagerFromCacheGUI();
if( m_WhereBuild != "" )
{
cmCacheManager::GetInstance()->SaveCache(
m_WhereBuild.c_str() );
}
+ std::cout << " Done ! " << std::endl;
}