summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog/CMakeSetupDialog.cpp
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-05-24 16:57:33 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-05-24 16:57:33 (GMT)
commit5731bc9d54036b28d4fce428cc218bb207c63411 (patch)
tree39caed87c95dc064689d064469ca5d9b01a7db00 /Source/MFCDialog/CMakeSetupDialog.cpp
parentad92f34fea4c565a3f6698c5bc620797be9c64fe (diff)
downloadCMake-5731bc9d54036b28d4fce428cc218bb207c63411.zip
CMake-5731bc9d54036b28d4fce428cc218bb207c63411.tar.gz
CMake-5731bc9d54036b28d4fce428cc218bb207c63411.tar.bz2
ENH: change the syntax of the SET command, fix the combo box for larger strings
Diffstat (limited to 'Source/MFCDialog/CMakeSetupDialog.cpp')
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp
index c93e652..804496e 100644
--- a/Source/MFCDialog/CMakeSetupDialog.cpp
+++ b/Source/MFCDialog/CMakeSetupDialog.cpp
@@ -137,6 +137,8 @@ BOOL CMakeSetupDialog::OnInitDialog()
this->LoadFromRegistry();
// try to load the cmake cache from disk
this->LoadCacheFromDiskToGUI();
+ m_WhereBuildControl.LimitText(2048);
+ m_WhereSourceControl.LimitText(2048);
// Set the version number
char tmp[1024];
sprintf(tmp,"Version %s", cmMakefile::GetVersion());
@@ -435,15 +437,6 @@ void CMakeSetupDialog::OnBuildProjects()
CString makefileIn = m_WhereSource;
makefileIn += "/CMakeLists.txt";
makefile.ReadListFile(makefileIn);
- if(!cmCacheManager::GetInstance()->GetCacheValue("CMAKE_CXX"))
- {
- if(!makefile.GetDefinition("CMAKE_CXX"))
- {
- makefile.AddDefinition("CMAKE_CXX", "VC60");
- }
- cmCacheManager::GetInstance()->AddCacheEntry("CMAKE_CXX", "VC60",
- "Compiler used", cmCacheManager::STRING);
- }
// Generate the project files
makefile.GenerateMakefile();
// Save the cache