summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2000-08-30 17:35:41 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2000-08-30 17:35:41 (GMT)
commit077c31484e216a72c73370c05fcf970ce5269085 (patch)
tree214109143e01d98fd406264be9f80a5bffdaff17 /Source/MFCDialog
parent1f42f521cea8b953f4ad7ef5ca0d4c6d49c42a88 (diff)
downloadCMake-077c31484e216a72c73370c05fcf970ce5269085.zip
CMake-077c31484e216a72c73370c05fcf970ce5269085.tar.gz
CMake-077c31484e216a72c73370c05fcf970ce5269085.tar.bz2
ENH: move from tools and create working CMake program
Diffstat (limited to 'Source/MFCDialog')
-rw-r--r--Source/MFCDialog/CMakeSetup.dsp54
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.cpp6
2 files changed, 32 insertions, 28 deletions
diff --git a/Source/MFCDialog/CMakeSetup.dsp b/Source/MFCDialog/CMakeSetup.dsp
index 6ab7031..9864a7c 100644
--- a/Source/MFCDialog/CMakeSetup.dsp
+++ b/Source/MFCDialog/CMakeSetup.dsp
@@ -92,10 +92,26 @@ LINK32=link.exe
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
+SOURCE=.\CMakeSetup.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\CMakeSetup.rc
+# End Source File
+# Begin Source File
+
+SOURCE=.\CMakeSetupDialog.cpp
+# End Source File
+# Begin Source File
+
SOURCE=..\cmClassFile.cxx
# End Source File
# Begin Source File
+SOURCE=..\cmDirectory.cxx
+# End Source File
+# Begin Source File
+
SOURCE=..\cmDSPBuilder.cxx
# End Source File
# Begin Source File
@@ -132,33 +148,33 @@ SOURCE=..\cmSystemTools.cxx
# End Source File
# Begin Source File
-SOURCE=..\itkVC60Configure.cxx
+SOURCE=..\cmWindowsConfigure.cxx
# End Source File
# Begin Source File
-SOURCE=..\cmWindowsConfigure.cxx
+SOURCE=..\itkVC60Configure.cxx
# End Source File
# Begin Source File
-SOURCE=.\CMakeSetup.cpp
+SOURCE=.\StdAfx.cpp
+# ADD CPP /Yc"stdafx.h"
# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
-SOURCE=.\CMakeSetup.rc
+SOURCE=..\CMakeSetup.h
# End Source File
# Begin Source File
-SOURCE=.\CMakeSetupDialog.cpp
+SOURCE=.\CMakeSetup.h
# End Source File
# Begin Source File
-SOURCE=.\StdAfx.cpp
-# ADD CPP /Yc"stdafx.h"
+SOURCE=.\CMakeSetupDialog.h
# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
SOURCE=..\cmClassFile.h
@@ -189,22 +205,10 @@ SOURCE=..\cmMakefile.h
# End Source File
# Begin Source File
-SOURCE=..\CMakeSetup.h
-# End Source File
-# Begin Source File
-
SOURCE=..\cmRegularExpression.h
# End Source File
# Begin Source File
-SOURCE=.\CMakeSetup.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\CMakeSetupDialog.h
-# End Source File
-# Begin Source File
-
SOURCE=.\Resource.h
# End Source File
# Begin Source File
@@ -221,11 +225,11 @@ SOURCE=.\res\CMakeSetup.ico
# End Source File
# Begin Source File
-SOURCE=.\res\CMakeSetupDialog.rc2
+SOURCE=.\res\CMakeSetupDialog.ico
# End Source File
# Begin Source File
-SOURCE=.\res\CMakeSetupDialog.ico
+SOURCE=.\res\CMakeSetupDialog.rc2
# End Source File
# End Group
# Begin Source File
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp
index 13513b29..32b8027 100644
--- a/Source/MFCDialog/CMakeSetupDialog.cpp
+++ b/Source/MFCDialog/CMakeSetupDialog.cpp
@@ -235,13 +235,13 @@ void CMakeSetupDialog::OnOK()
cmDSWBuilder builder;
// Set the ITK home directory
builder.SetHomeDirectory(m_WhereSource);
- // Set the Makefile.in file
+ // Set the CMakeLists.txt file
CString makefileIn = m_WhereSource;
- makefileIn += "/Makefile.in";
+ makefileIn += "/CMakeLists.txt";
builder.SetInputMakefilePath(makefileIn);
// Set the output directory
builder.SetOutputDirectory(m_WhereBuild);
- // set the directory which contains the Makefile.in
+ // set the directory which contains the CMakeLists.txt
builder.SetMakefileDirectory(m_WhereSource);
// Create the master DSW file and all children dsp files for ITK
builder.CreateDSWFile();