summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-10-30 19:05:07 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-10-30 19:05:07 (GMT)
commit091e95f26dba82131de135dce5b14a937b68d92c (patch)
tree891d48d0b4741c87bcbdf86bcc0f18f9ad875974 /Source/cmMakefile.h
parentbc34c428dfbfaf9164a2ba899d6d2b350777c1a9 (diff)
downloadCMake-091e95f26dba82131de135dce5b14a937b68d92c.zip
CMake-091e95f26dba82131de135dce5b14a937b68d92c.tar.gz
CMake-091e95f26dba82131de135dce5b14a937b68d92c.tar.bz2
ENH: add an option to configure file command that allows for only expansion of at variables and not dollar variables
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 532fadd..60d028e 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -511,13 +511,14 @@ public:
* expanded to match autoconf style expansions.
*/
const char *ExpandVariablesInString(std::string& source) const;
- const char *ExpandVariablesInString(std::string& source, bool escapeQuotes) const;
+ const char *ExpandVariablesInString(std::string& source, bool escapeQuotes,
+ bool atOnly = false) const;
/**
* Remove any remaining variables in the string. Anything with ${var} or
* @var@ will be removed.
*/
- void RemoveVariablesInString(std::string& source) const;
+ void RemoveVariablesInString(std::string& source, bool atOnly = false) const;
/**
* Expand variables in the makefiles ivars such as link directories etc