summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalCodeWarriorGenerator.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/cmLocalCodeWarriorGenerator.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/cmLocalCodeWarriorGenerator.cxx')
-rw-r--r--Source/cmLocalCodeWarriorGenerator.cxx28
1 files changed, 15 insertions, 13 deletions
diff --git a/Source/cmLocalCodeWarriorGenerator.cxx b/Source/cmLocalCodeWarriorGenerator.cxx
index 08bc812..ef5ee30 100644
--- a/Source/cmLocalCodeWarriorGenerator.cxx
+++ b/Source/cmLocalCodeWarriorGenerator.cxx
@@ -22,6 +22,8 @@ PURPOSE. See the above copyright notices for more information.
#include "cmCacheManager.h"
#include "cmake.h"
+#include <cmsys/RegularExpression.hxx>
+
cmLocalCodeWarriorGenerator::cmLocalCodeWarriorGenerator()
{
}
@@ -168,9 +170,9 @@ void cmLocalCodeWarriorGenerator::WriteSettingList(std::ostream& fout,
// library paths
// now add in the libraries we depend on
- cmRegularExpression isAframework("[ \t]*\\-framework");
- cmRegularExpression isEnvironment("\\${");
- cmRegularExpression isUNIX("[ \t]*\\-l([^ \t]+)");
+ cmsys::RegularExpression isAframework("[ \t]*\\-framework");
+ cmsys::RegularExpression isEnvironment("\\${");
+ cmsys::RegularExpression isUNIX("[ \t]*\\-l([^ \t]+)");
const cmTarget::LinkLibraries& libs = l->GetLinkLibraries();
cmTarget::LinkLibraries::const_iterator lib = libs.begin();
for(; lib != libs.end(); ++lib)
@@ -564,9 +566,9 @@ void cmLocalCodeWarriorGenerator::WriteFileList(std::ostream& fout,
}
// now add in the libraries we depend on
- cmRegularExpression isAframework("[ \t]*\\-framework");
- cmRegularExpression isEnvironment("\\${");
- cmRegularExpression isUNIX("[ \t]*\\-l([^ \t]+)");
+ cmsys::RegularExpression isAframework("[ \t]*\\-framework");
+ cmsys::RegularExpression isEnvironment("\\${");
+ cmsys::RegularExpression isUNIX("[ \t]*\\-l([^ \t]+)");
const cmTarget::LinkLibraries& libs = l->GetLinkLibraries();
cmTarget::LinkLibraries::const_iterator lib = libs.begin();
for(; lib != libs.end(); ++lib)
@@ -694,9 +696,9 @@ void cmLocalCodeWarriorGenerator::WriteLinkOrder(std::ostream& fout,
}
// now add in the libraries we depend on
- cmRegularExpression isAframework("[ \t]*\\-framework");
- cmRegularExpression isEnvironment("\\${");
- cmRegularExpression isUNIX("[ \t]*\\-l([^ \t]+)");
+ cmsys::RegularExpression isAframework("[ \t]*\\-framework");
+ cmsys::RegularExpression isEnvironment("\\${");
+ cmsys::RegularExpression isUNIX("[ \t]*\\-l([^ \t]+)");
const cmTarget::LinkLibraries& libs = l->GetLinkLibraries();
cmTarget::LinkLibraries::const_iterator lib = libs.begin();
@@ -814,7 +816,7 @@ void cmLocalCodeWarriorGenerator::WriteLinkOrder(std::ostream& fout,
// we need at least one framework for the XML to be valid
// generate framework list
- cmRegularExpression reg("[ \t]*\\-framework[ \t]+([^ \t]+)");
+ cmsys::RegularExpression reg("[ \t]*\\-framework[ \t]+([^ \t]+)");
std::vector<std::string> frameworks;
lib = libs.begin();
@@ -967,9 +969,9 @@ void cmLocalCodeWarriorGenerator::WriteGroup(std::ostream& fout,
}
// now add in the libraries we depend on
- cmRegularExpression isAframework("[ \t]*\\-framework");
- cmRegularExpression isEnvironment("\\${");
- cmRegularExpression isUNIX("[ \t]*\\-l([^ \t]+)");
+ cmsys::RegularExpression isAframework("[ \t]*\\-framework");
+ cmsys::RegularExpression isEnvironment("\\${");
+ cmsys::RegularExpression isUNIX("[ \t]*\\-l([^ \t]+)");
const cmTarget::LinkLibraries& libs = l->GetLinkLibraries();
cmTarget::LinkLibraries::const_iterator lib = libs.begin();
for(; lib != libs.end(); ++lib)