summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-06-16 13:44:03 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-06-16 13:44:03 (GMT)
commit6ccbfe979583078e02c5e3eb55d83aebd04c9b7c (patch)
treee49a7ab6255dd6de76702dceb43600742d05e07c /Source
parent4df215a268267b457cc6e5cf2bfc23d1c8de7b11 (diff)
downloadCMake-6ccbfe979583078e02c5e3eb55d83aebd04c9b7c.zip
CMake-6ccbfe979583078e02c5e3eb55d83aebd04c9b7c.tar.gz
CMake-6ccbfe979583078e02c5e3eb55d83aebd04c9b7c.tar.bz2
clean up commands so they don't need extra variable
Diffstat (limited to 'Source')
-rw-r--r--Source/cmFLTKWrapUICommand.cxx16
-rw-r--r--Source/cmQTWrapCPPCommand.cxx15
2 files changed, 0 insertions, 31 deletions
diff --git a/Source/cmFLTKWrapUICommand.cxx b/Source/cmFLTKWrapUICommand.cxx
index f39d1ec..bdae514 100644
--- a/Source/cmFLTKWrapUICommand.cxx
+++ b/Source/cmFLTKWrapUICommand.cxx
@@ -27,22 +27,6 @@ bool cmFLTKWrapUICommand::InitialPass(std::vector<std::string> const& args)
return false;
}
- // Now check and see if the value has been stored in the cache
- // already, if so use that value and don't look for the program
- const char* FLTK_WRAP_UI_value = m_Makefile->GetDefinition("FLTK_WRAP_UI");
- if (FLTK_WRAP_UI_value==0)
- {
- this->SetError("called with FLTK_WRAP_UI undefined");
- return false;
- }
-
- if(cmSystemTools::IsOff(FLTK_WRAP_UI_value))
- {
- this->SetError("called with FLTK_WRAP_UI off : ");
- return false;
- }
-
-
// what is the current source dir
std::string cdir = m_Makefile->GetCurrentDirectory();
std::string fluid_exe = "${FLTK_FLUID_EXECUTABLE}";
diff --git a/Source/cmQTWrapCPPCommand.cxx b/Source/cmQTWrapCPPCommand.cxx
index 6bc9798..9f74a71 100644
--- a/Source/cmQTWrapCPPCommand.cxx
+++ b/Source/cmQTWrapCPPCommand.cxx
@@ -27,21 +27,6 @@ bool cmQTWrapCPPCommand::InitialPass(std::vector<std::string> const& argsIn)
std::vector<std::string> args;
m_Makefile->ExpandSourceListArguments(argsIn, args, 2);
- // Now check and see if the value has been stored in the cache
- // already, if so use that value and don't look for the program
- const char* QT_WRAP_CPP_value = m_Makefile->GetDefinition("QT_WRAP_CPP");
- if (QT_WRAP_CPP_value==0)
- {
- this->SetError("called with QT_WRAP_CPP undefined");
- return false;
- }
-
- if(cmSystemTools::IsOff(QT_WRAP_CPP_value))
- {
- this->SetError("called with QT_WRAP_CPP off : ");
- return false;
- }
-
// what is the current source dir
std::string cdir = m_Makefile->GetCurrentDirectory();