summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-06-06 20:20:02 (GMT)
committerBrad King <brad.king@kitware.com>2007-06-06 20:20:02 (GMT)
commitdb0f26e85264b47dabaa1d400ad2fec1eb848eac (patch)
tree9a1077fe904c820fa6ec3a4bb7af33a18ce03714 /Source/cmMakefile.h
parentd016b69af3304965f4ce7fd1953e9901def528a4 (diff)
downloadCMake-db0f26e85264b47dabaa1d400ad2fec1eb848eac.zip
CMake-db0f26e85264b47dabaa1d400ad2fec1eb848eac.tar.gz
CMake-db0f26e85264b47dabaa1d400ad2fec1eb848eac.tar.bz2
BUG: Fixed @ONLY configuration to not try to parse ${} syntax at all. This fixes the original fix to bug#4393 and adds a test.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 0c4341a..93b8f02 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -570,14 +570,14 @@ public:
* entry in the this->Definitions map. Also @var@ is
* expanded to match autoconf style expansions.
*/
- const char *ExpandVariablesInString(std::string& source) const;
+ const char *ExpandVariablesInString(std::string& source);
const char *ExpandVariablesInString(std::string& source, bool escapeQuotes,
bool noEscapes,
bool atOnly = false,
const char* filename = 0,
long line = -1,
bool removeEmpty = false,
- bool replaceAt = true) const;
+ bool replaceAt = true);
/**
* Remove any remaining variables in the string. Anything with ${var} or
@@ -807,6 +807,7 @@ private:
cmsys::RegularExpression cmDefineRegex;
cmsys::RegularExpression cmDefine01Regex;
+ cmsys::RegularExpression cmAtVarRegex;
cmPropertyMap Properties;