diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2000-09-12 09:30:35 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2000-09-12 09:30:35 (GMT) |
commit | aa3ca2b432ab346c28ea7c758cbbf57ca346e139 (patch) | |
tree | dec236eb51e746ae123edb3e9c01a5595381e12f /Source/MFCDialog/CMakeSetupDialog.cpp | |
parent | e2ad65d3c27177b8f3ee3c9b81382ea883a3bfbd (diff) | |
download | CMake-aa3ca2b432ab346c28ea7c758cbbf57ca346e139.zip CMake-aa3ca2b432ab346c28ea7c758cbbf57ca346e139.tar.gz CMake-aa3ca2b432ab346c28ea7c758cbbf57ca346e139.tar.bz2 |
ENH: CMake and configure now use SUBDIRS in CMakeLists.txt to find all the directories of the system.
Diffstat (limited to 'Source/MFCDialog/CMakeSetupDialog.cpp')
-rw-r--r-- | Source/MFCDialog/CMakeSetupDialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp index 32b8027..f3dc17b 100644 --- a/Source/MFCDialog/CMakeSetupDialog.cpp +++ b/Source/MFCDialog/CMakeSetupDialog.cpp @@ -4,7 +4,7 @@ #include "stdafx.h" #include "CMakeSetup.h" #include "CMakeSetupDialog.h" -#include "../cmDSWBuilder.h" +#include "../cmDSWMakefile.h" #include "../itkVC60Configure.h" #ifdef _DEBUG @@ -232,19 +232,19 @@ void CMakeSetupDialog::OnOK() config.SetWhereBuild(m_WhereBuild); config.Configure(); - cmDSWBuilder builder; + cmDSWMakefile builder; // Set the ITK home directory builder.SetHomeDirectory(m_WhereSource); // Set the CMakeLists.txt file CString makefileIn = m_WhereSource; makefileIn += "/CMakeLists.txt"; - builder.SetInputMakefilePath(makefileIn); + builder.ReadMakefile(makefileIn); // Set the output directory builder.SetOutputDirectory(m_WhereBuild); // set the directory which contains the CMakeLists.txt - builder.SetMakefileDirectory(m_WhereSource); + builder.SetCurrentDirectory(m_WhereSource); // Create the master DSW file and all children dsp files for ITK - builder.CreateDSWFile(); + builder.OutputDSWFile(); CDialog::OnOK(); this->SaveToRegistry(); } |