|
|
@@ -9,10 +9,12 @@
|
|
|
#include "MakeHelp.h"
|
|
|
#include "PathDialog.h"
|
|
|
#include "CMakeSetupDialog.h"
|
|
|
-#include "CMakeCommandLineInfo.h"
|
|
|
+#include "CMakeCommandLineInfo.h"
|
|
|
+#include "../cmListFileCache.h"
|
|
|
#include "../cmCacheManager.h"
|
|
|
#include "../cmake.h"
|
|
|
#include "../cmGlobalGenerator.h"
|
|
|
+#include "../cmDynamicLoader.h"
|
|
|
#ifdef _DEBUG
|
|
|
#define new DEBUG_NEW
|
|
|
#undef THIS_FILE
|
|
|
@@ -167,6 +169,14 @@ CMakeSetupDialog::CMakeSetupDialog(const CMakeCommandLineInfo& cmdInfo,
|
|
|
|
|
|
}
|
|
|
|
|
|
+CMakeSetupDialog::~CMakeSetupDialog()
|
|
|
+{
|
|
|
+ delete m_CMakeInstance;
|
|
|
+ // clean up globals
|
|
|
+ cmListFileCache::GetInstance()->ClearCache();
|
|
|
+ cmDynamicLoader::FlushCache();
|
|
|
+}
|
|
|
+
|
|
|
void CMakeSetupDialog::DoDataExchange(CDataExchange* pDX)
|
|
|
{
|
|
|
CDialog::DoDataExchange(pDX);
|