summaryrefslogtreecommitdiffstats
path: root/Source/cmConfigureFileCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-06-23 18:10:12 (GMT)
committerBrad King <brad.king@kitware.com>2003-06-23 18:10:12 (GMT)
commit38482b46d171bde2073fadab65118c5c9df29e0f (patch)
treecce4d062f94612f514f2b13cff42f5426c531b4b /Source/cmConfigureFileCommand.cxx
parentb2368399d91b710616a3c53fc39bd8e11971b42f (diff)
downloadCMake-38482b46d171bde2073fadab65118c5c9df29e0f.zip
CMake-38482b46d171bde2073fadab65118c5c9df29e0f.tar.gz
CMake-38482b46d171bde2073fadab65118c5c9df29e0f.tar.bz2
ENH: Merged use of the kwsys RegularExpression class instead of cmRegularExpression.
Diffstat (limited to 'Source/cmConfigureFileCommand.cxx')
-rw-r--r--Source/cmConfigureFileCommand.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmConfigureFileCommand.cxx b/Source/cmConfigureFileCommand.cxx
index e43fc15..d2a6443 100644
--- a/Source/cmConfigureFileCommand.cxx
+++ b/Source/cmConfigureFileCommand.cxx
@@ -16,6 +16,8 @@
=========================================================================*/
#include "cmConfigureFileCommand.h"
+#include <cmsys/RegularExpression.hxx>
+
// cmConfigureFileCommand
bool cmConfigureFileCommand::InitialPass(std::vector<std::string> const& args)
{
@@ -106,7 +108,7 @@ void cmConfigureFileCommand::ConfigureFile()
// now copy input to output and expand variables in the
// input file at the same time
std::string inLine;
- cmRegularExpression cmdefine("#cmakedefine[ \t]*([A-Za-z_0-9]*)");
+ cmsys::RegularExpression cmdefine("#cmakedefine[ \t]*([A-Za-z_0-9]*)");
while( cmSystemTools::GetLineFromStream(fin, inLine) )
{
m_Makefile->ExpandVariablesInString(inLine, m_EscapeQuotes, m_AtOnly);