summaryrefslogtreecommitdiffstats
path: root/Source/cmConfigureFileNoAutoconf.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-06-06 17:58:18 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-06-06 17:58:18 (GMT)
commit37801ddaaec78597d5ac000bf60f6948ff865d06 (patch)
treea39ab5ff5c125d6e2c5dfb4235cf041518fbd266 /Source/cmConfigureFileNoAutoconf.cxx
parent355278324e0e96048e27195249161c1c68a7c412 (diff)
downloadCMake-37801ddaaec78597d5ac000bf60f6948ff865d06.zip
CMake-37801ddaaec78597d5ac000bf60f6948ff865d06.tar.gz
CMake-37801ddaaec78597d5ac000bf60f6948ff865d06.tar.bz2
added enable testing deprecated some commands
Diffstat (limited to 'Source/cmConfigureFileNoAutoconf.cxx')
-rw-r--r--Source/cmConfigureFileNoAutoconf.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/Source/cmConfigureFileNoAutoconf.cxx b/Source/cmConfigureFileNoAutoconf.cxx
index 5a5f89f..412b92f 100644
--- a/Source/cmConfigureFileNoAutoconf.cxx
+++ b/Source/cmConfigureFileNoAutoconf.cxx
@@ -43,14 +43,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// cmConfigureFileNoAutoconf
bool cmConfigureFileNoAutoconf::InitialPass(std::vector<std::string>& args)
{
- if(args.size() != 2 )
- {
- this->SetError("called with incorrect number of arguments, expected 2");
- return false;
- }
- m_InputFile = args[0];
- m_OuputFile = args[1];
- return true;
+ this->SetError("The CONFIGURE_FILE_NO_AUTOCONF method is deprecated, please use CONFIGURE_FILE instead.");
+ return false;
}
void cmConfigureFileNoAutoconf::FinalPass()