summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog/CMakeSetupDialog.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-04-23 20:40:29 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-04-23 20:40:29 (GMT)
commit90e56122989f4021e9fbabd3299ea783b80a2c61 (patch)
tree4180b9c4c858bee3bdea327b301cea187adbf38c /Source/MFCDialog/CMakeSetupDialog.h
parent619dd8c4791850f3fe4d564d32f8285cb027b4fc (diff)
downloadCMake-90e56122989f4021e9fbabd3299ea783b80a2c61.zip
CMake-90e56122989f4021e9fbabd3299ea783b80a2c61.tar.gz
CMake-90e56122989f4021e9fbabd3299ea783b80a2c61.tar.bz2
ENH: new GUI editor for cmake cache file
Diffstat (limited to 'Source/MFCDialog/CMakeSetupDialog.h')
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.h b/Source/MFCDialog/CMakeSetupDialog.h
index 1989234..47c09d3 100644
--- a/Source/MFCDialog/CMakeSetupDialog.h
+++ b/Source/MFCDialog/CMakeSetupDialog.h
@@ -7,7 +7,8 @@
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
-
+#include "../cmMakefile.h"
+#include "PropertyList.h"
/////////////////////////////////////////////////////////////////////////////
// CMakeSetupDialog dialog
@@ -20,6 +21,7 @@ protected:
bool Browse(CString&, const char* title);
void SaveToRegistry();
void LoadFromRegistry();
+ void InitMakefile();
void ReadRegistryValue(HKEY hKey,
CString *val,
const char *key,
@@ -27,8 +29,11 @@ protected:
// Dialog Data
//{{AFX_DATA(CMakeSetupDialog)
enum { IDD = IDD_CMakeSetupDialog_DIALOG };
+ cmMakefile m_Makefile;
+ bool m_InitMakefile;
CString m_WhereSource;
CString m_WhereBuild;
+ CPropertyList m_CacheEntriesList;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
@@ -39,6 +44,7 @@ protected:
// Implementation
protected:
+
HICON m_hIcon;
CString m_RegistryKey;
// Generated message map functions
@@ -50,8 +56,14 @@ protected:
afx_msg void OnChangeEdit1();
afx_msg void OnBrowse();
virtual void OnOK();
+ virtual void OnBuildProjects();
afx_msg void OnButton3();
+ // copy from the cache manager to the cache edit list box
+ void FillCacheEditorFromCacheManager();
+ // copy from the list box to the cache manager
+ void FillCacheManagerFromCacheEditor();
+
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};