summaryrefslogtreecommitdiffstats
path: root/Source/cmMakeDepend.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/cmMakeDepend.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/cmMakeDepend.cxx')
-rw-r--r--Source/cmMakeDepend.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmMakeDepend.cxx b/Source/cmMakeDepend.cxx
index 2d13cf9..e8812e7 100644
--- a/Source/cmMakeDepend.cxx
+++ b/Source/cmMakeDepend.cxx
@@ -18,6 +18,7 @@
#include "cmStandardIncludes.h"
#include "cmSystemTools.h"
+#include <cmsys/RegularExpression.hxx>
void cmDependInformation::AddDependencies(cmDependInformation* info)
{
@@ -189,7 +190,7 @@ void cmMakeDepend::GenerateDependInformation(cmDependInformation* info)
// #include directives
void cmMakeDepend::DependWalk(cmDependInformation* info)
{
- cmRegularExpression includeLine("^[ \t]*#[ \t]*include[ \t]*[<\"]([^\">]+)[\">]");
+ cmsys::RegularExpression includeLine("^[ \t]*#[ \t]*include[ \t]*[<\"]([^\">]+)[\">]");
std::ifstream fin(info->m_FullPath.c_str());
if(!fin)
{