summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpression.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-02-06 12:32:15 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-02-07 15:21:08 (GMT)
commit7c0ec75cfa6860b53036fe46c005b84277cdbc24 (patch)
tree830a43484968760685ca2eeb07a5777d91f87a5e /Source/cmGeneratorExpression.h
parent92e98dd909bd399f508ff7c2f9657095ddc766cc (diff)
downloadCMake-7c0ec75cfa6860b53036fe46c005b84277cdbc24.zip
CMake-7c0ec75cfa6860b53036fe46c005b84277cdbc24.tar.gz
CMake-7c0ec75cfa6860b53036fe46c005b84277cdbc24.tar.bz2
De-duplicate validation of genex target names.
Diffstat (limited to 'Source/cmGeneratorExpression.h')
-rw-r--r--Source/cmGeneratorExpression.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGeneratorExpression.h b/Source/cmGeneratorExpression.h
index d487919..4eab2dd 100644
--- a/Source/cmGeneratorExpression.h
+++ b/Source/cmGeneratorExpression.h
@@ -64,6 +64,8 @@ public:
static std::string::size_type Find(const std::string &input);
+ static bool IsValidTargetName(const std::string &input);
+
private:
cmGeneratorExpression(const cmGeneratorExpression &);
void operator=(const cmGeneratorExpression &);